libor-m/pagedown

HTML 5 elements missing from hardcoded element lists

GoogleCodeExporter opened this issue · 1 comments

_HashHTMLBlocks has a hardcoded list of block elements. This is missing new 
block elements from HTML 5. The current set of defined block elements is:

address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frame
set,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,t
able,tbody,td,tfoot,th,thead,tr,ul,article,aside,details,dialog,summary,figure,f
ooter,header,hgroup,nav,section,audio,video,canvas,datalist

Original issue reported on code.google.com by wich...@outlook.com on 22 Feb 2013 at 9:25

I have attached a diff which extends the list of accepted elements and modifies 
the code a little bit to make it easier to update the list of accepted elements.

Original comment by wich...@outlook.com on 26 Mar 2013 at 4:38

Attachments: