code to html
mtsee opened this issue · comments
mantou commented
···
test
···
to HTML is:
<code>
test
</code>
but ,This is right
<pre>
<code>
test
</code>
</pre>
clchenliang commented
I have try to revise the output of markdown.toHTML()
function.
here the simple code:
html.replace(/<code><\/code>\`(?=[^<])/g,'<code>');
html.replace(/<code><\/code>\`(?=<)/g, '<\/code>');