#680564 Undocumented behaviour --- notification body is usually HTML

Package:
libnotify-bin
Source:
libnotify
Description:
sends desktop notifications to a notification daemon (Utilities)
Submitter:
Jan Christoph Uhde
Date:
2012-12-31 12:42:06 UTC
Severity:
minor
#680564#5
Date:
2012-07-06 19:46:30 UTC
From:
To:
Dear Maintainer,

please try the following:
    notify-send '& trap "kill $!" EXIT'        - displays correct
and
    notify-send title '& trap "kill $!" EXIT;' - does not show the message

best regards

#680564#8
Date:
2012-12-30 22:23:11 UTC
From:
To:
Severity: minor
Control: retitle -1 Undocumented behaviour --- notification body is usually HTML
Tags: upstream

This is not a bug — in most[0] notification-daemon implementations, the
notification body is displayed as HTML, while the title is plain text.

'&' starts an HTML character reference, thus the body in your example
is invalid. Displaying invalid HTML results in undefined behaviour.

To solve your particular problem, replace '&' with '&'.

This bug is a documentation bug — neither the libnotify docs nor the
notify-send ones specify that the notification body is HTML.

I am lowering the severity to 'minor' as this is a documentation bug.
It does not affect the functionality of the package.

Feel free to reassign the bug to a more suitable package if you find one.

[0]: This is true for:
	- xfce4-notifyd
	- notification-daemon
	- notify-osd
and false for:
	- dunst
I have not checked any other notification-daemons, but I think that
all (except the ultra-lightweight like dunst) display the body as HTML.