mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-20 02:34:12 +00:00
Prevent invalid characters from being used in XML. (#13181)
Patching issue of never returning XML, at the cost of "obfuscated" xml key
This commit is contained in:
parent
7b4b4240cb
commit
19ec9162c5
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ export function marshallUserData (userData) {
|
|||
|
||||
return js2xml.parse('user', userData, {
|
||||
cdataInvalidChars: true,
|
||||
replaceInvalidChars: true,
|
||||
declaration: {
|
||||
include: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue