aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-18 21:47:50 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-18 21:47:50 +0200
commitb50a5b294a50729e70d96c65ed1a12657bd1adf3 (patch)
tree38f6a65fd7d57cff7a780a0293c2b74819705e4f /mod
parent3a36db6de8a69cba493bdd0baf86c60401fe971c (diff)
mod/notification-matrix: ... and more double escaping
Diffstat (limited to 'mod')
-rw-r--r--mod/notification-matrix.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notification-matrix.rsc b/mod/notification-matrix.rsc
index 86e6b5f..7eae1b0 100644
--- a/mod/notification-matrix.rsc
+++ b/mod/notification-matrix.rsc
@@ -117,7 +117,7 @@
($Notification->"subject")) ] . "</h2>" . "<pre><code>" . \
[ $PrepareText ($Notification->"message") ] . "</code></pre>");
:if ([ :len ($Notification->"link") ] > 0) do={
- :set Plain ($Plain . "\\n" . [ $SymbolForNotification "link" ] . \
+ :set Plain ($Plain . "\n" . [ $SymbolForNotification "link" ] . \
"[" . $Notification->"link" . "](" . $Notification->"link" . ")");
:set Formatted ($Formatted . "<br/>" . [ $SymbolForNotification "link" ] . \
"<a href=\"" . [ $PrepareText ($Notification->"link") ] . "\">" . \
@@ -140,7 +140,7 @@
:local Text ([ $SymbolForNotification "alarm-clock" ] . \
"This message was queued since " . [ /system/clock/get date ] . \
" " . [ /system/clock/get time ] . " and may be obsolete.");
- :set Plain ($Plain . "\\n" . $Text);
+ :set Plain ($Plain . "\n" . $Text);
:set Formatted ($Formatted . "<br/>" . $Text);
:set ($MatrixQueue->[ :len $MatrixQueue ]) { headers=$Headers; \
accesstoken=$AccessToken; homeserver=$HomeServer; room=$Room; \