Comments for .twig files

Currently, .twig files are checked by ht HTML Scanner ( Jira )

It seems that twig is not fully supported - for example comments in twig are scanned like normal code:

{# <input id="test" placeholder="test1" /> #}
<input id="test" placeholder="test2" />

Will result in:

Duplicate id "test" found. First occurence was on line ...

Hello @Improve1785,

thanks for reporting this. I created a JIRA ticket to fix this.

Cheers!

1 Like