Link insertion bugs
iliaznk opened this issue · comments
Hello! Looks like I've found a couple of bugs all of them having to do with link insertion into a fresh instance of woofmark.
When you try to insert a link (http://bevacqua.github.io/woofmark/) in wysiwyg with text link
:
link
//bugs start here with only the first letter being linked
and then switch to markdown:
[l][1]ink
[1]: http://bevacqua.github.io/woofmark/
html:
<p>/</p>
and back to wysiwyg you finally get this:
/
The same happens if you try to insert a link in markdown mode. Somehow that doesn't happen if you not only insert a link, but also write a word on another line (while if you start from wysiwyg mode, you still get only the first letter linked).
If your first line in markdown is a URL starting with http
, then this is what you get in html:
<p></p>
which, of course, translates to nothing
in wysiwyg.
Can you please update megamark
to latest and check again?
It's still the same - only the first letter gets linked if you insert a link in wysiwyg; in markdown if you insert this link https://github.com/bevacqua/woofmark/issues/16
and then switch to html, wysiwys, html and back to mardown you'll find only 6
left.