lib/hemingway/block/list/list.treetop in hemingway-0.0.2 vs lib/hemingway/block/list/list.treetop in hemingway-0.0.3
- old
+ new
@@ -15,10 +15,10 @@
/
"description" <DescriptionListNode>
end
rule item
- "\\item" whitespace label:label? sequence:content* whitespace <ItemNode>
+ "\\item" whitespace? label:label? sequence:( content / whitespace )* <ItemNode>
end
rule label
label_start sequence:label_content* label_end <LabelNode>
end
\ No newline at end of file