markdown: fix token location in multilines input