html-linter icon indicating copy to clipboard operation
html-linter copied to clipboard

False possitive ExtraWhitespaceMessage

Open sirex opened this issue 10 years ago • 1 comments

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.

sirex avatar Jul 30 '15 12:07 sirex

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.

sk- avatar Jul 30 '15 13:07 sk-