Better markup parsing

Markup lines not always start with “<“ since it can have a textNode.