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
Sometimes when receiving a title, it contains Pango tags. A simple window title that breaks the parser is " + Why doesn’t this work?????????????" It’s long enough to trigger the shortener, which is quite simple:
Unfortunately, sometimes when Pango tags are used, the text is truncated to
"+ Why does&a" (the &a is a fragment from the apostrophe). Then set_markup_silently(text) fails and the box simply says Invalid Text. Even if it succeeded, the text inside would be much shorter than intended.
I’m suspecting we may need gears.string.xml_escape(), but then the title loses formatting. We might need an extra parsing library for this.
The text was updated successfully, but these errors were encountered:
Well nice catch didn't noticed this kind of behavior but I mainly use the same software daily. I would need to dig in it but unfortunately Im a bit short in available time. Im working actively in the in the V2 of the project. So if someone want to try to find a fix for this ?
I'll be happy to take PR.
Sometimes when receiving a title, it contains Pango tags. A simple window title that breaks the parser is " + Why doesn’t this work?????????????" It’s long enough to trigger the shortener, which is quite simple:
Unfortunately, sometimes when Pango tags are used, the text is truncated to
"+ Why does&a" (the &a is a fragment from the apostrophe). Then
set_markup_silently(text)
fails and the box simply says Invalid Text. Even if it succeeded, the text inside would be much shorter than intended.I’m suspecting we may need
gears.string.xml_escape()
, but then the title loses formatting. We might need an extra parsing library for this.The text was updated successfully, but these errors were encountered: