1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

LibJS: Convert MarkupGenerator to the new String

This commit is contained in:
Linus Groh 2022-12-06 20:42:59 +00:00
parent f23b55ae86
commit 112b3f7342
5 changed files with 92 additions and 85 deletions

View file

@ -133,7 +133,7 @@ void ConsoleWidget::print_source_line(StringView source)
html.append("> "sv);
html.append("</span>"sv);
html.append(JS::MarkupGenerator::html_from_source(source));
html.append(JS::MarkupGenerator::html_from_source(source).release_value_but_fixme_should_propagate_errors());
print_html(html.string_view());
}