mirror of https://github.com/adamdruppe/arsd.git
minor
This commit is contained in:
parent
612aaed5eb
commit
75f7269209
4
dom.d
4
dom.d
|
@ -3833,7 +3833,7 @@ class Document : FileResource {
|
||||||
if(pos == data.length) {
|
if(pos == data.length) {
|
||||||
if(strict)
|
if(strict)
|
||||||
throw new MarkupException("unclosed processing instruction (<!xxx>)");
|
throw new MarkupException("unclosed processing instruction (<!xxx>)");
|
||||||
}
|
} else pos++; // skipping the >
|
||||||
|
|
||||||
if(parseSawBangInstruction !is null)
|
if(parseSawBangInstruction !is null)
|
||||||
if(parseSawBangInstruction(data[start .. pos])) {
|
if(parseSawBangInstruction(data[start .. pos])) {
|
||||||
|
@ -3844,10 +3844,12 @@ class Document : FileResource {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if(pos < data.length && data[pos] == '>')
|
if(pos < data.length && data[pos] == '>')
|
||||||
pos++; // skip the >
|
pos++; // skip the >
|
||||||
else
|
else
|
||||||
assert(!strict);
|
assert(!strict);
|
||||||
|
*/
|
||||||
break;
|
break;
|
||||||
case '%':
|
case '%':
|
||||||
case '?':
|
case '?':
|
||||||
|
|
Loading…
Reference in New Issue