Consider dl as a block-level element.

This commit is contained in:
Gabriel Wicke 2011-11-28 16:54:58 +00:00
parent 1c91daa7be
commit b16c295b98

View file

@ -405,7 +405,7 @@ block
/ comment &eolf
/ para
/ pre
/ block_tag
/ block_tag // TODO: handle nesting of inline content for these!
/ (s:sol {
if (s) {
return [s, {type: 'NEWLINE'}];
@ -786,7 +786,7 @@ block_tag
block_name
= "p" / "table" / "td" / "tr" / "ul" / "ol"
/ "li" / "dt" / "dd" / "div" / "center"
/ "li" / "dl" / "dt" / "dd" / "div" / "center"
/ "blockquote"