Commit 38f30006 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Markdown parser visitor should set to iterate over itds direct children

parent be97e8ff
......@@ -157,7 +157,7 @@ class MessageParser @Inject constructor(
if (node is ListItem) {
newLine()
builder.append("$number$delimiter ")
super.visitChildren(node.firstChild)
super.visitChildren(node)
newLine()
}
number++
......
......@@ -2,7 +2,6 @@ package chat.rocket.android.server.infraestructure
import androidx.lifecycle.MutableLiveData
import chat.rocket.android.db.DatabaseManager
import chat.rocket.android.infrastructure.LocalRepository
import chat.rocket.common.model.BaseRoom
import chat.rocket.common.model.User
import chat.rocket.common.model.UserStatus
......
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