Skip to content

xfce4-notifyd support for HTML "<br>" tag

Submitted by Pedro Vieira

Assigned to Simon Steinbeiß @ochosi

Link to original bug (#14945)

Description

I run an application on my system which requires notifications with HTML tags (specifically <b> and <br>). However, when the notification comes trhrough, i see the following error message:

Dec 05 09:16:09 HOSTNAME xfce4-notifyd[3398]: Failed to set text '<b>TEXT</b>``<br>TEXT' from markup due to error parsing markup: Error on line 1 char 90: Element “markup” was closed, but the currently open element is “br”

I can reproduce the error by running the command directly:

notify-send "<b>TEXT</b>``<br>TEXT"

Is this expected? are these tags supported? if not, Is there any possibility to introduce support for it?

Version: 0.4.2