fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

[lacks-paragraph] HTML tags in HTML output aren't visible #4778

Open n8willis opened 2 days ago

n8willis commented 2 days ago

Not sure if this is part of or sufficiently distinct from #4687 , but the HTML check should escape HTML tags, so that they're readable.

Observed behaviour

Specifically, https://github.com/google/fonts/pull/7875#issuecomment-2182671572 got a missing-tag warning on "<p>"/"</p>" or so on, and the tag that's been flagged as missing is in the HTML output as raw/unescaped HTML, so it's not visible in the report: Screenshot 2024-06-28 at 16-09-45 Matemasie Version 1 001 ttfautohint (v1 8 4 7-5d5b) added by n8willis · Pull Request #7875 · google_fonts

Expected behaviour

Just want to see what tag(s) are identified as missing by the check, so that scanning through the HTML output is easier.

Resources and steps needed to reproduce

The GH Action says this is on 0.12.7