@@ -26,7 +26,7 @@ ftxui::Element element_from_node(layout::LayoutBox const &box) {
switch (box.type) {
case layout::LayoutType::Inline: {
if (auto text = std::get_if<dom::Text>(&box.node->node.get().data)) {
return hflow(ftxui::paragraph(ftxui::to_wstring(text->text)));
return hflow(ftxui::paragraph(text->text));
}
return hbox(parse_children(box));
}