Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.28k stars 689 forks source link

Cannot escape '&' from the song title #2067

Open flaffyclaud opened 1 year ago

flaffyclaud commented 1 year ago

(waybar:410464): Gtk-WARNING **: 03:19:58.251: Failed to set text '  & Phil Collins Easy Lov ' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

The song title is fetched and o/p'd to waybar using a shell script that uses playerctl and zscroll to display now playing with scroll animation.

KairuiLiu commented 1 year ago

I am trying the same thing, is zscroll working correctly on waybar?

flaffyclaud commented 1 year ago

I am trying the same thing, is zscroll working correctly on waybar?

It's working fine except when '&' is present in the title or artists section of the song.

skykanin commented 8 months ago

https://github.com/Alexays/Waybar/wiki/Module:-Custom#config set escape to true