Improve notification documentation
Ref: https://gitlab.gnome.org/GNOME/gnome-shell/issues/294
This commit is contained in:
@ -27,6 +27,7 @@ function _fixMarkup(text, allowMarkup) {
|
||||
|
||||
// Support <b>, <i>, and <u>, escape anything else
|
||||
// so it displays as raw markup.
|
||||
// Ref: https://developer.gnome.org/notification-spec/#markup
|
||||
_text = _text.replace(/<(?!\/?[biu]>)/g, '<');
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user