Skip to content

Commit

Permalink
this domain no longer exists!
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 7, 2024
1 parent b1af175 commit f046f15
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 27 deletions.
2 changes: 2 additions & 0 deletions lib/html_proofer/attribute/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ def without_hash
# normalize strips this off, which causes issues with cache
@url = if @url.end_with?("/") && !url.end_with?("/")
"#{url}/"
elsif !@url.end_with?("/") && url.end_with?("/")
url.chop
else
url
end
Expand Down
2 changes: 1 addition & 1 deletion spec/html-proofer/fixtures/links/unicode_domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<body>

<p><a href="https://αναπτυξηεφαρμογων.gr">A real link</a></p>
<p><a href="https://granö.fi">A real link</a></p>

</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f046f15

Please sign in to comment.