mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01: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:
@@ -25,6 +25,7 @@ export function marshallUserData (userData) {
|
|||||||
|
|
||||||
return js2xml.parse('user', userData, {
|
return js2xml.parse('user', userData, {
|
||||||
cdataInvalidChars: true,
|
cdataInvalidChars: true,
|
||||||
|
replaceInvalidChars: true,
|
||||||
declaration: {
|
declaration: {
|
||||||
include: false,
|
include: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user