gbro3n / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

HTML 5 elements missing from hardcoded element lists #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
_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

GoogleCodeExporter commented 9 years ago
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: