mirror of https://github.com/adamdruppe/arsd.git
fix the switch case the pr created
This commit is contained in:
parent
4f9d5f1f37
commit
c3c863d867
5
dom.d
5
dom.d
|
@ -804,9 +804,10 @@ class Document : FileResource {
|
||||||
|
|
||||||
return Ele(1, null, tname); // closing tag reports itself here
|
return Ele(1, null, tname); // closing tag reports itself here
|
||||||
case ' ': // assume it isn't a real element...
|
case ' ': // assume it isn't a real element...
|
||||||
if(strict)
|
if(strict) {
|
||||||
parseError("bad markup - improperly placed <");
|
parseError("bad markup - improperly placed <");
|
||||||
else
|
assert(0); // parseError always throws
|
||||||
|
} else
|
||||||
return Ele(0, TextNode.fromUndecodedString(this, "<"), null);
|
return Ele(0, TextNode.fromUndecodedString(this, "<"), null);
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue