[IMP] HMTL5 main element

bzr revid: fp@tinyerp.com-20131213214157-8ow63hpaii6hdvxl
This commit is contained in:
Fabien Pinckaers 2013-12-13 22:41:57 +01:00
parent 3b56c80ced
commit 65a5ce8a92
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ tags_to_kill = ["script", "head", "meta", "title", "link", "style", "frame", "if
tags_to_remove = ['html', 'body', 'font']
# allow new semantic HTML5 tags
allowed_tags = clean.defs.tags | frozenset('article section header footer hgroup nav aside figure'.split())
allowed_tags = clean.defs.tags | frozenset('article section header footer hgroup nav aside figure main'.split())
safe_attrs = clean.defs.safe_attrs | frozenset(['style'])