parent
9a2147683c
commit
61a07adb59
@ -45,7 +45,14 @@ export class V2XmlFormatter implements XmlFormatter {
|
||||
|
||||
// entering CData
|
||||
if (location === Location.Text && cc === "<" && nc === "!" && nnc === "[") {
|
||||
output += `${this._getIndent(options, indentLevel)}<`;
|
||||
if (pc === ">" && ppc !== "/") {
|
||||
output += "<";
|
||||
}
|
||||
|
||||
else {
|
||||
output += `${this._getIndent(options, indentLevel)}<`;
|
||||
}
|
||||
|
||||
location = Location.CData;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user