A BlockIgnores statement does not work for .html files. Hugo allows us to have custom content using a special tag which we would like to have Vale ignore.
<h2>
Header content
</h2>
{{< cardpane >}}
{{< card
header="Card Title" >}}
Content of card
</div>
{{< /card >}}
Relevant part of .vale.ini
...
[*.{md,rst,html}]
# Accept HUGO shortcuts/commands
BlockIgnores = (?s) *({{< [^>]* >}})
...
The BlockIgnores as specified above does work in .md files.
Since the code to implement BlockIgnores is in the same function as ignoring the front matter, this issue is probably related to #506.
vale version 2.20.2
Ubuntu 20.04.5 LTS
A BlockIgnores statement does not work for .html files. Hugo allows us to have custom content using a special tag which we would like to have Vale ignore.
Relevant part of .vale.ini
The BlockIgnores as specified above does work in .md files.
Since the code to implement BlockIgnores is in the same function as ignoring the front matter, this issue is probably related to #506.
vale version 2.20.2
Ubuntu 20.04.5 LTS