mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove bad tags.
This commit is contained in:
parent
a7d9a4894b
commit
8b5ae5c131
@ -154,8 +154,7 @@ def check_whitespace_and_spelling(fn, lines):
|
|||||||
yield lno+1, '"%s" used' % word
|
yield lno+1, '"%s" used' % word
|
||||||
|
|
||||||
|
|
||||||
bad_tags = ('<u>', '<s>', '<strike>'
|
bad_tags = ('<u>', '<s>', '<strike>', '<center>', '<font')
|
||||||
'<center>', '<big>', '<small>', '<font')
|
|
||||||
|
|
||||||
@checker('.html')
|
@checker('.html')
|
||||||
def check_xhtml(fn, lines):
|
def check_xhtml(fn, lines):
|
||||||
|
Loading…
Reference in New Issue
Block a user