diff options
Diffstat (limited to 'creole/parser/html_parser_config.py')
| -rw-r--r-- | creole/parser/html_parser_config.py | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/creole/parser/html_parser_config.py b/creole/parser/html_parser_config.py index 9790833..5236f02 100644 --- a/creole/parser/html_parser_config.py +++ b/creole/parser/html_parser_config.py @@ -4,22 +4,45 @@ """ python-creole ~~~~~~~~~~~~~ - + created by Jens Diemer :copyleft: 2009-2011 by the python-creole team, see AUTHORS for more details. :license: GNU GPL v3 or above, see LICENSE for more details. """ -from __future__ import division, absolute_import, print_function, unicode_literals + BLOCK_TAGS = ( - "address", "blockquote", "center", "dir", "div", "dl", "fieldset", + "address", + "blockquote", + "center", + "dir", + "div", + "dl", + "fieldset", "form", - "h1", "h2", "h3", "h4", "h5", "h6", - "hr", "ins", "isindex", "men", "noframes", "noscript", - "ul", "ol", "li", "table", "th", "tr", "td", - "p", "pre", - "br" + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "hr", + "ins", + "isindex", + "men", + "noframes", + "noscript", + "ul", + "ol", + "li", + "table", + "th", + "tr", + "td", + "p", + "pre", + "br", ) IGNORE_TAGS = ("tbody",) |
