lib/flannel/block.treetop in flannel-0.2.12 vs lib/flannel/block.treetop in flannel-0.2.13
- old
+ new
@@ -38,11 +38,11 @@
end
}
end
rule block_type
- ( feed / preformatted / list / header / blockquote / paragraph ) {
+ ( feed / preformatted / list / header / blockquote / dlist / image / paragraph ) {
def content
[:block_type, text_value.to_sym ]
end
}
end
@@ -85,15 +85,23 @@
rule feed
"feed" { def content; text_value; end }
end
+ rule image
+ "image" { def content; text_value; end }
+ end
+
rule preformatted
"preformatted" { def content; text_value; end }
end
rule list
"list" { def content; text_value; end }
+ end
+
+ rule dlist
+ "dlist" { def content; text_value; end }
end
rule block_id
" "+ [a-z\-_]+ {
def content
\ No newline at end of file