forked from external/vscode-xml
parent
88ac5d9a08
commit
b55c314aa4
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue