Skip to content

Commit

Permalink
Add <section> to the list of known tags. [bug 606993]
Browse files Browse the repository at this point in the history
  • Loading branch information
James Socol committed Oct 27, 2010
1 parent 14ea830 commit 4189367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikimarkup/parser.py
Expand Up @@ -46,15 +46,15 @@
u'sup', u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'cite', u'code',
u'em', u's', u'strike', u'strong', u'tt', u'var', u'div', u'center',
u'blockquote', u'ol', u'ul', u'dl', u'table', u'caption', u'pre',
u'p', u'span', u'u', u'li', u'dd', u'dt', u'video',
u'p', u'span', u'u', u'li', u'dd', u'dt', u'video', u'section',
)
_htmlsingle = ( # Elements that cannot have close tags
u'br', u'hr', u'img', u'source',
)
_htmlnest = ( # Tags that can be nested--??
u'table', u'tr', u'td', u'th', u'div', u'blockquote', u'ol', u'ul',
u'dl', u'font', u'big', u'small', u'sub', u'sup', u'span', u'img',
u'tbody', u'thead', u'tfoot', u'colgroup', u'col',
u'tbody', u'thead', u'tfoot', u'colgroup', u'col', u'section',
)
_tabletags = ( # Can only appear inside table
u'td', u'th', u'tr', u'tbody', u'thead', u'tfoot', u'colgroup', u'col',
Expand Down

0 comments on commit 4189367

Please sign in to comment.