Comment 2 for bug 205973

Revision history for this message
wodny (wodny) wrote :

OK, I will comment myself :-)

as:
http://www.galago-project.org/specs/notification/0.9/x81.html
says:
"The body may contain simple markup as specified in Markup. It must be encoded using UTF-8."

But there is no annotation about markups in summary field. So my conclusion is that summary and body should be treated differently.
In file:
notify.py line 283-284
both are escaped - inside body, entities like " are understood, while for summary (title) it's not true

So my first and the simplest way of fixing, would be NOT escaping title.