woofmark icon indicating copy to clipboard operation
woofmark copied to clipboard

Link insertion bugs

Open iliaznk opened this issue 9 years ago • 2 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.

iliaznk avatar Jul 28 '15 11:07 iliaznk

Can you please update megamark to latest and check again?

bevacqua avatar Aug 02 '15 18:08 bevacqua

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.

iliaznk avatar Aug 03 '15 07:08 iliaznk