! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Pango markup not working in 3.4
Status:
RESOLVED: INVALID
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description Nathan W 2012-05-29 16:08:06 CEST
Pango markup not being interpreted correctly.  <span color="red">blah</color> shows up.  It also looks like the tool and click tags are not getting interpreted correctly either
Comment 1 David Schneider 2012-05-31 00:48:58 CEST
First of all, I assume you meant </span>, not </color>.
Since 2/16, you must wrap <txt> </txt> around that, as without <txt>, it is assumed your text is plain (to avoid surprises with &'s not working; see bug 8316).  Even before then, if you want to use <tool> and <click> tags, you have to use <txt> for the text part.

echo '<txt><span color="red">blah</span></txt><tool>woo</tool><img></img><click>xclock</click>'

should work.
Comment 2 Nathan W 2012-05-31 03:15:33 CEST
You are correct.  I was testing with <text> and not <txt>  Making that change it is now working.  

Thanks
Nathan

Bug #8966

Reported by:
Nathan W
Reported on: 2012-05-29
Last modified on: 2012-05-31

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information