You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can use links in labels by using the <a>tag. But this tag is not part of Pango markup and therefore it isn't recognized as valid markup and GLib.markup_escape_textis used to sanitize the text, even though it would be valid.
currently this can be circumvented by using the set_markup method to set the labels text like this:
Widget.Label({
...
}).on("realize",self=>{self.set_markup("This is a <a href=\"https://www.github.com\">test link</a>")})
The text was updated successfully, but these errors were encountered:
you can use links in labels by using the
<a>
tag. But this tag is not part of Pango markup and therefore it isn't recognized as valid markup andGLib.markup_escape_text
is used to sanitize the text, even though it would be valid.currently this can be circumvented by using the set_markup method to set the labels text like this:
The text was updated successfully, but these errors were encountered: