graphtage icon indicating copy to clipboard operation
graphtage copied to clipboard

Expects quoted attributes in HTML unnecessarily, preventing diffing

Open technopagan opened this issue 5 years ago • 1 comments

When trying to diff an HTML file, Graphtage throws an error when encountering e.g.:

<meta name=foo

because it expects quoted attributes like so:

<meta name="foo"

However, the first variant without quotes is perfectly valid HTML and should not prevent Graphtage from diffing the file.

technopagan avatar Aug 31 '20 14:08 technopagan

This is because Graphtage is (incorrectly) currently using Python's XML parser to parse HTML. This is a bug. We need to switch to an actual HTML parser. I will use this issue to track that development.

ESultanik avatar Sep 03 '20 01:09 ESultanik