This appears to be a side effect of the bug fix applied from ID 2651307. If a tag has no attributes and no space after the tag name, the parser runs off the end of the tag generating pairs of random strings.
My patch fixes the bug for me, but it may re-introduce the problem originally reported in 2651307.
Patch Node.cc to fixe ParseAttributes