mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
menu_view: unquote label text attribute value
This patch enables the menu view to display '"' characters supplied via the 'text' attribute of the <label> widget. Issue #3607 Issue #3629
This commit is contained in:
parent
e612f7cd7d
commit
5b650434b0
@ -47,6 +47,7 @@ struct Menu_view::Label_widget : Widget, Cursor::Glyph_position
|
||||
{
|
||||
_font = _factory.styles.font(node);
|
||||
_text = node.attribute_value("text", Text(""));
|
||||
_text = Xml_unquoted(_text);
|
||||
|
||||
_cursors.update_from_xml(_cursor_update_policy, node);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user