From 88667ce9f0539b52b174c962eb4f7865dec73d8b Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Wed, 7 Dec 2022 14:16:52 +0300 Subject: [PATCH] Ladybird: Fix build with JS::MarkupGenerator's new string type usage Fix to build after JS::MarkupGenerator got converted to use new string type: https://github.com/SerenityOS/serenity/commit/112b3f73429eff7a3b6947c7fb45c62a0e5c0727 --- Ladybird/ConsoleWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladybird/ConsoleWidget.cpp b/Ladybird/ConsoleWidget.cpp index 30ecc060dc..b252eac2a1 100644 --- a/Ladybird/ConsoleWidget.cpp +++ b/Ladybird/ConsoleWidget.cpp @@ -132,7 +132,7 @@ void ConsoleWidget::print_source_line(StringView source) html.append("> "sv); html.append(""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()); }