-
Notifications
You must be signed in to change notification settings - Fork 264
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
better_html scans any project that uses i18n-tasks #422
Comments
- Only require better_html/errors and better_html/parser. - Fixes glebm#422
@eligordon Can you elaborate on how to reproduce it?
I did a pr on #423 that might fix it. |
Bumped into this after upgrading to 1.0.0. I didn't used better_html before the upgrade, so now it breaks the dev environment (at least) just because of some double quotes are used to define conditional classes. I wasn't running any specific command, just a usual Will rollback until #423 is merged :) Thanks for all your work! Btw, this was the "offensive" html:
|
How do you use |
- Only require better_html/errors and better_html/parser. - Fixes #422
We are having a similar issue in our specs on 1.0.0 We basically use a copy of the template spec, and it seems that after that every template we render during testing get validated by Thanks for checking it and looking forward to that 1.0.1! |
I released 1.0.1 a few minutes ago! |
Ah, I will see if I can write a spec for this. Can you try 1.0.1? |
Thanks guys! The 1.0.1 looks fine, both specs and tasks work as they did before the update |
With v1.0.0 of
i18n-tasks
included in my project,better_html
is now scanning (and occasionally criticizing the HTML markup of) the files in my project and any other gems that I use on render. I doubt this is the effect you wanted. Perhaps you only need torequire 'better_html/parser'
?(@davidwessman)
The text was updated successfully, but these errors were encountered: