I am adding special links to a Rails app that uses EasyMDE.
The special links are in format
[[[another-link](https://goessomewhere.com)]]
which means that they are included in [[ ]]
tags.
Unfortunately the html code becomes like
<pre class=" CodeMirror-line "role="presentation">
<span role="presentation" style="padding-right: 0.1px;">
this is
<span class="cm-formatting cm-formatting-link cm-link">[</span>
<span class="cm-link">[[Darth Vader](http://localhost:3000/post/0fd5387c1e37)</span>
<span class="cm-formatting cm-formatting-link cm-link">]</span>] </span>
</span>
</pre>
The last ]
does not have formatting and the cm-link
class.
This seems simple but I have no idea how to solve.
Any help will be appreciated !