Skip to content

Commit 369e5c0

Browse files
committed
Fix htmlBase in replaceAll() call
1 parent b89dcf5 commit 369e5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/html/html_generator_instance.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ class HtmlGeneratorInstance {
420420
String content = template.renderString(data);
421421

422422
if (!_options.useBaseHref) {
423-
content = content.replaceAll(HTMLBASE_PLACEHOLDER, '');
423+
content = content.replaceAll(HTMLBASE_PLACEHOLDER, data.htmlBase);
424424
}
425425
_writer(outFile, content);
426426
if (data.self is Indexable) _indexedElements.add(data.self as Indexable);

0 commit comments

Comments
 (0)