lemminx
lemminx copied to clipboard
Range formatting incorrectly closes DTD subset
In this case:
<?xml version='1.0' standalone='no'?>
<!DOCTYPE root-element [
<!ENTITY local1 "LOCALLY DECLARED ENTITY">
<!ENTITY local2 "LOCALLY DECLARED ENTITY">
<!ENTITY local3 "LOCALLY DECLARED ENTITY">
]>
Range formatting the <!DOCTYPE tag with a part of the subset contents would close the subset:
