mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-28 08:38:44 +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:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
<#include "assignable_place_color">,
|
||||
"description": "${place.text?js_string}",
|
||||
"description": "${place.text?json_string}",
|
||||
"fields": [
|
||||
<#list roles as role>
|
||||
{
|
||||
"name": "${role.emote.emoteRepr?js_string}",
|
||||
"value": "${role.description?js_string}",
|
||||
"name": "${role.emote.emoteRepr?json_string}",
|
||||
"value": "${role.description?json_string}",
|
||||
"inline": "${place.inline?string('true', 'false')}"
|
||||
<#if role.forceNewMessage>
|
||||
,"forceNewMessage": "true"
|
||||
|
||||
Reference in New Issue
Block a user