trailofbits/graphtage

Expects quoted attributes in HTML unnecessarily, preventing diffing

Open

#25 opened on Aug 31, 2020

 (1 comment) (0 reactions) (1 assignee)Python (54 forks)auto 404
bugenhancementgood first issue

Repository metrics

Stars
 (2,474 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide