Commit 37e490cb authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Fix: Don't allow Image/Script HTMLProofer checks to fail

It turns out that I'd accidentally allowed this to fail, which isn't
what I want - I'm only happy with links being invalid.

Additionally, fix the failing `ImageCheck`.

Closes #762.
parent e6a8e04f
Pipeline #90726771 passed with stages
in 8 minutes and 11 seconds
......@@ -53,7 +53,8 @@ namespace :test do
/meetup.com/,
/www-api.jvt.me/,
/haveibeenpwned.com/,
]
],
checks_to_ignore: %w(ImageCheck ScriptCheck),
}
HTMLProofer.check_directory('./public', options).run
end
......@@ -63,7 +64,6 @@ namespace :test do
require_relative 'lib/checks'
options = {
disable_external: true,
checks_to_ignore: %w(ImageCheck ScriptCheck),
}
HTMLProofer.check_directory('./public', options).run
end
......
......@@ -247,7 +247,7 @@ For those of you that can't render this in your mind, it could render something
<span>
<a href="https://www.jvt.me">
<img style="height: 32px; width: 32px; margin: 0; display: inline-block" src="/img/profile.png" alt=""/>
<img style="height: 32px; width: 32px; margin: 0; display: inline-block" src="/img/profile.png" alt="Jamie Tanna's profile image"/>
Jamie Tanna
</a>
</span>:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment