[Shadowrun5thA] escape ()

This commit is contained in:
Stexinator
2022-02-01 11:24:18 +01:00
parent ef0d587398
commit 9062a564e0
+2
View File
@@ -16861,6 +16861,8 @@ const rollEscape = {
':': '%colon;',
'}': '%rcub;',
'{': '%lcub;',
')': '%rbrac;',
'(': '%lbrac;',
},
escape(str) {
str = (typeof(str) === 'object') ? JSON.stringify(str) : (typeof(str) === 'string') ? str : null;