[uilib] allow canvas tags in the html cleaner
Used by the iprogress cube. Closes #3524254.
--- a/uilib.py Wed Feb 05 16:34:21 2014 +0100
+++ b/uilib.py Wed Feb 05 15:50:36 2014 +0100
@@ -215,7 +215,7 @@
ALLOWED_TAGS = (defs.general_block_tags | defs.list_tags | defs.table_tags |
defs.phrase_tags | defs.font_style_tags |
- set(('span', 'a', 'br', 'img', 'map', 'area', 'sub', 'sup'))
+ set(('span', 'a', 'br', 'img', 'map', 'area', 'sub', 'sup', 'canvas'))
)
CLEANER = clean.Cleaner(allow_tags=ALLOWED_TAGS, remove_unknown_tags=False,