We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652d513 commit e4de4c1Copy full SHA for e4de4c1
lib/src/html/html_generator_instance.dart
@@ -419,7 +419,9 @@ class HtmlGeneratorInstance {
419
String outFile = path.joinAll(filename.split('/'));
420
String content = template.renderString(data);
421
422
- content = content.replaceAll(HTMLBASE_PLACEHOLDER, data.htmlBase);
+ if (!_options.useBaseHref) {
423
+ content = content.replaceAll(HTMLBASE_PLACEHOLDER, data.htmlBase);
424
+ }
425
_writer(outFile, content,
426
element: data.self is Warnable ? data.self : null);
427
if (data.self is Indexable) _indexedElements.add(data.self as Indexable);
0 commit comments