Commit 721d0d2c authored by Leonardo Aramaki's avatar Leonardo Aramaki

Fix cast exception when parsing an OrderedList object

parent 8dd30e58
......@@ -159,7 +159,7 @@ class MessageParser @Inject constructor(
if (node is ListItem) {
newLine()
builder.append("$number$delimiter ")
super.visit(node.firstChild as Paragraph)
super.visitChildren(node.firstChild)
newLine()
}
number++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment