Skip to content

Commit

Permalink
fix output of googlefonts/description/valid_html
Browse files Browse the repository at this point in the history
which was not printing '<' and '>' chars on tag names.

(issue #4778)
  • Loading branch information
felipesanches committed Sep 20, 2024
1 parent e7886cc commit 2c78185
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def check_description_valid_html(descfile, description_and_article):
if "<html>" in content or "</html>" in content:
yield FAIL, Message(
"html-tag",
f"{source} should not have an <html> tag,"
f"{source} should not have an \\<html\\> tag,"
f" since it should only be a snippet that will"
f" later be included in the Google Fonts"
f" font family specimen webpage.",
Expand All @@ -404,7 +404,7 @@ def check_description_valid_html(descfile, description_and_article):

if "<p>" not in content or "</p>" not in content:
yield FAIL, Message(
"lacks-paragraph", f"{descfile} does not include an HTML <p> tag."
"lacks-paragraph", f"{descfile} does not include an HTML \\<p\\> tag."
)


Expand Down

0 comments on commit 2c78185

Please sign in to comment.