trailofbits/graphtage

Expects quoted attributes in HTML unnecessarily, preventing diffing

Aperta

#25 aperta il 31 ago 2020

 (1 commento) (0 reazioni) (1 assegnatario)Python (54 fork)auto 404
bugenhancementgood first issue

Metriche repository

Star
 (2474 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor