Add xml escape for the double quote
This commit is contained in:
parent
4d0f378d3f
commit
969d36744c
@ -153,6 +153,7 @@ func marshalXML(l *lslib.Resource) (string, error) {
|
||||
n = strings.ReplaceAll(n, "false", "False")
|
||||
n = strings.ReplaceAll(n, "true", "True")
|
||||
n = strings.ReplaceAll(n, "'", "'")
|
||||
n = strings.ReplaceAll(n, """, """)
|
||||
return n, nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user