Add html-validate ignore for markdown tables
This commit is contained in:
parent
b5c790df77
commit
3c035dc4ea
|
@ -3,4 +3,5 @@
|
|||
{{ $old := "<table>" -}}
|
||||
{{ $new := printf "<table class=\"%s\">" $class -}}
|
||||
{{ $htmlTable := replace $htmlTable $old $new -}}
|
||||
{{ "<!-- [html-validate-disable-block wcag/h63: markdown does not generate tables with scope attribute] -->" | safeHTML }}
|
||||
{{ $htmlTable | safeHTML }}
|
||||
|
|
Loading…
Reference in New Issue