cboxdoerfer / ddb_playback_status

Playback Status Widget for the DeaDBeeF Audio Player
2 stars 1 forks source link

Pango markup issue #1

Open saivert opened 6 years ago

saivert commented 6 years ago

Deadbeef has had support for dimmed and highlighted text via \<text> and >text< markup for a while which conflicts with the use of Pango markup in this plugin. Deadbeef eats the angle brackets on parse so they need to be escaped even if plugin does not indicate support for it via titleformatting context flags. Use of single quotation marks also need escaping or replaced with double quote marks.

You can find an example on how to convert dimmed text into pango attribute list in deadbeef's plcommon.c

cboxdoerfer commented 6 years ago

Cool, thx.