mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-05 00:53:01 +00:00
[AB-216] replacing js_string with json_string in order to escape characters, because js_string could lead to illegal escape sequences
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "remind_reminder_note_field_title"/>",
|
||||
"value": "${reminder.text?js_string}"
|
||||
"value": "${reminder.text?json_string}"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "remind_reminder_link_field_title"/>",
|
||||
"value": "[<@safe_include "remind_reminder_link_content_display_text"/>](${messageUrl})"
|
||||
}
|
||||
],
|
||||
"additionalMessage": "${member.asMention?js_string}"
|
||||
"additionalMessage": "${member.asMention?json_string}"
|
||||
}
|
||||
@@ -5,5 +5,5 @@
|
||||
<@member_author member=member/>,
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "remind_reminding_description_text"/>",
|
||||
"additionalMessage": "${member.asMention?js_string}"
|
||||
"additionalMessage": "${member.asMention?json_string}"
|
||||
}
|
||||
Reference in New Issue
Block a user