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>")
})
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: