mozilla / readability

A standalone version of the readability lib
Other
8.34k stars 579 forks source link

Phrasing elements - incomplete list #875

Open vankov1 opened 1 month ago

vankov1 commented 1 month ago

Hey everyone, is there a specific reason why the array with PHRASING_ELEMS is missing elements from the specification (apart from the ones mentioned in the comment - Canvas, Iframe, SVG, Video) like: U and S?

gijsk commented 2 weeks ago

This work was done in #447 . I guess I (as I reviewed it) and/or the author missed some out? There is no justification listed there; it'd be interesting to see how the testcases would respond if we aligned this with the spec.