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
I use playerctl metadata with i3bar and forced to use none markup mode because any special char (<, >, &, etc.) in metadata field breaks pango markup.
It would be convenient to have some helper function to encode special chars to corresponding entities (e.g., < → <). This would allow to use pango markup safely, for example:
I use
playerctl metadata
with i3bar and forced to usenone
markup mode because any special char (<
,>
,&
, etc.) in metadata field breakspango
markup.It would be convenient to have some helper function to encode special chars to corresponding entities (e.g.,
<
→<
). This would allow to use pango markup safely, for example:I guess this can be done quite easily with
g_markup_escape_text()
.The text was updated successfully, but these errors were encountered: