Two links in the same paragraph

Mar 14, 2011 at 9:26 AM

Hi Alessandro,

I'm back to test your great editor. I hope that you will continue the development and the documentation.

I have a little problem with two or more links in the same paragraph. The first link will always be the same as the last link, and when you change the last link then all other links in the same paragraph will change as well. Also, links like #3 will be prefixed with the url you are in.

Step to reproduce: Add the following in Editable HTML view:

<p><a href="#1">link1</a> and <a href="#2">link2</a></p>

Swith to design view and back again to Editable HTML view. Now it looks like this - The first link has changed and the last one is prefixed with the url:

<a href="#2">link1</a> and <a href="http://demo.typps.com/Editor/default.aspx#2">link2</a></p>

Swith to design view and back again to Editable HTML view. Now it looks like this:

 

<p>
        <a href="http://demo.typps.com/Editor/default.aspx#2">link1</a> and <a href="http://demo.typps.com/Editor/default.aspx#2">link2</a></p>
Thanks in advance.

Best regards,

Allan

Coordinator
Mar 14, 2011 at 11:42 AM

Hello Allan, I shall look at this shortly and provide a fix.

Thanks for reporting.

Alessandro

Coordinator
Mar 14, 2011 at 11:07 PM

Allan, a fix has been comitted. You may download the compiled dlls from changeset #62667

http://typps.codeplex.com/SourceControl/changeset/changes/62667

And don't worry, we will start development of version 3 in april. There are many things to improve upon and as you have noted documentation is lacking too. 

Many thanks for reporting this bug.

Mar 16, 2011 at 12:52 PM

Hi Alessandro, Thanks a lot for the quick fix.