@@ -289,7 +289,7 @@ fixPlains inList bs = if any isParaish bs'
289289pRawTag :: TagParser String
290290pRawTag = do
291291 tag <- pAnyTag
292− let ignorable x = x `elem` ["html","head","body"]
292+ let ignorable x = x `elem` ["html","head","body","DOCTYPE","?xml"]
293293 if tagOpen ignorable (const True) tag || tagClose ignorable tag
294294 then return []
295295 else return $ renderTags' [tag]