Open alefteris opened 2 years ago
Thanks for the report! We will add it to our backlog and try to prioritize a fix!
A possible option could be to add an onClickHandler, onto the code Sections that copy the true values into the clipboard.
So after some digging, I found the Possible problem lies with this part of the codebase.
The inner HTML part that gets returned is HTML escaped before it gets cleaned.
Possibile solutions could be to check if the selection is inside a <pre><code></code></pre>
element anf if true run an HTML unescape over it.
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
Markdown code blocks and code spans, when previewed from dendron preview, are html encoded. So when copying code content from the preview, some characters are html encoded.
To Reproduce
Steps to reproduce the behavior:
The text that have been pasted is html encoded:
Expected behavior
The text pasted should have been:
Desktop (please complete the following information)