Commit a48c2ce9 authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Merge branch 'defect/script-img-check' into 'master'

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

Closes #762

See merge request !553
parents e6a8e04f 37e490cb
Pipeline #90728607 passed with stages
in 9 minutes and 38 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