forked from external/vscode-xml
parent
88ac5d9a08
commit
b55c314aa4
@ -157,7 +157,11 @@ export class XmlFormatter {
|
||||
inCdata = true;
|
||||
}
|
||||
|
||||
else if (char == ']' && (xml.substr(i, 3) == ']]>' || xml.substr(i, 3) == '-->')) {
|
||||
else if (char == ']' && (xml.substr(i, 3) == ']]>')) {
|
||||
inCdata = false;
|
||||
}
|
||||
|
||||
else if (char == '-' && (xml.substr(i, 3) == '-->')) {
|
||||
inCdata = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user