Desktop notifications: Fix limited HTML markup in the body text being rendered as HTML on some Linux systems

Fix #7671
This commit is contained in:
Kovid Goyal
2024-07-27 21:19:46 +05:30
parent 54b328710b
commit 45a3a655a7
2 changed files with 9 additions and 6 deletions

View File

@@ -56,7 +56,8 @@ longer than ``2048`` bytes, *before being encoded*.
Both the ``title`` and ``body`` payloads must be either UTF-8 encoded plain
text with no embedded escape codes, or UTF-8 text that is :rfc:`base64 <4648>`
encoded, in which case there must be an ``e=1`` key in the metadata to indicate
the payload is :rfc:`base64 <4648>` encoded.
the payload is :rfc:`base64 <4648>` encoded. No HTML or other markup in the
plain text is allowed. It is strictly plain text, to be interpreted as such.
Being informed when user activates the notification
-------------------------------------------------------