Add html-validate ignore for markdown tables

This commit is contained in:
hedy 2024-04-13 14:45:07 +08:00
parent b5c790df77
commit 3c035dc4ea
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 1 additions and 0 deletions

View File

@ -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 }}