# HG changeset patch # User Julien Cristau # Date 1391611836 -3600 # Node ID c4581bc582e106020e4b18726e48b866c7f8d596 # Parent cd5738fc440fb2fc8f2a872a5d43e8dcc78aa537 [uilib] allow canvas tags in the html cleaner Used by the iprogress cube. Closes #3524254. diff -r cd5738fc440f -r c4581bc582e1 uilib.py --- 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,