-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore script templates #233
Comments
You can add the Would that work? |
I tried a few things, and it doesn't work <script type="text/html" id="navbar-logged-in" data-proofer-ignore>
<li><a href="https://www.clerky.com/features">Home</a></li>
</script> and <script type="text/html" id="navbar-logged-in" data-proofer-ignore>
<li><a href="https://www.clerky.com/features" data-proofer-ignore>Home</a></li>
</script> |
@akshayrawat What are the options you pass to Proofer? |
task :html_proofer do
HTML::Proofer.new(
"./build",
{
check_favicon: true,
check_html: true #Yep
parallel: {
in_processes: 3
}
}
).run
end |
Well hot diggity. I can reproduce this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to ignore script templates just like HTML5 tags which aren't supported by Nokogiri/libxml2? Or is there another workaround to ignore errors on these snippets?
Error:
Its very common for frameworks (Ember, Knockout etc.) to have html fragments as script text templates.
The text was updated successfully, but these errors were encountered: