Skip to content

Commit 89c9560

Browse files
committed
Lint documents marked with HTML5 in addition to HTML
1 parent d500025 commit 89c9560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HtmlTidy(Linter):
1717

1818
"""Provides an interface to tidy."""
1919

20-
syntax = 'html'
20+
syntax = ('html', 'html 5')
2121
cmd = 'tidy -errors -quiet -utf8'
2222
regex = r'^line (?P<line>\d+) column (?P<col>\d+) - (?:(?P<error>Error)|(?P<warning>Warning)): (?P<message>.+)'
2323
line_col_base = (1, 1)

0 commit comments

Comments
 (0)