Hi
Whenever I paste some markdown text into discourse that has <
or >
within it, they get converted into <
and >
For example, if I wanna paste:
<span>test</test>
It gets converted into
<span>test</span>
We face this issue a lot with people where we tell them to paste their code for review, and their code gets scribbled
1 Like
pfaffman
(Jay Pfaffman)
2
The solution is to do shift-control-v so that it doesn’t rewrite it that way.
5 Likes
Thanks man!
I was going to ask: is there a way to make it the default? Then I searched in the settings the word “paste” and I found:
Enable automatic HTML to Markdown conversion when pasting text into the composer. (Experimental)
Just disabled it, and it works like a charm
5 Likes
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.