From af2ee83505d892f9900c2f87345503e98675fed5 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" <destructionator@gmail.com> Date: Thu, 23 May 2013 16:12:03 -0400 Subject: [PATCH] implement hack described in comments [!] --- dom.d | 1 + 1 file changed, 1 insertion(+) diff --git a/dom.d b/dom.d index 6b6310b..5a4d940 100644 --- a/dom.d +++ b/dom.d @@ -3851,6 +3851,7 @@ class Document : FileResource { if(!strict && pos < data.length && data[pos] == '<') { // this is the broken tag that doesn't have a > at the end + data = data[0 .. pos] ~ ">" ~ data[pos.. $]; // let's insert one as a hack goto case '>'; }