html-linter
html-linter copied to clipboard
False possitive ExtraWhitespaceMessage
I have following code:
<div class="form-group{% if provider.errors %} has-error{% endif %}">
After cleaning template tags it becomes this:
<div class="form-group has-error ">
And html-linter reports ExtraWhitespaceMessage error.
Any ideas how to workaround this?
Currently I had to disable ExtraWhitespaceMessage.
Unfortunately at the moment that is one of the limitations of template-remover. See my comment on the issue you created there.
I'm open for proposals.