Use no_markup option of the parser itself

Just escaping the text before feeding it to the parser messes up
markdown quotes.
Since markdown uses > for quoting, and escaping turns it into &gt;, what
does not get parsed.