mirror of https://github.com/adamdruppe/arsd.git
non-closed tag parsing
This commit is contained in:
parent
54fa15eabe
commit
06768ed6f6
1
dom.d
1
dom.d
|
@ -3816,7 +3816,6 @@ class Document : FileResource {
|
||||||
if(!strict && data[pos] == '<') {
|
if(!strict && data[pos] == '<') {
|
||||||
// this is the broken tag that doesn't have a > at the end
|
// this is the broken tag that doesn't have a > at the end
|
||||||
// let's insert one as a hack
|
// let's insert one as a hack
|
||||||
data = data[0 .. pos-1] ~ ">" ~ data[pos .. $];
|
|
||||||
goto case '>';
|
goto case '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue