exposed parseMarkupCore for overriding