In parseMarkup(), note the character that ends an attribute value even for an attribute that is ignored, and stop the scan at the end of the string. A tag with an unrecognised unquoted attribute ran past the markup and into the text that followed. (tags: small-fixes-2)