HTML links pasted into the "Rich Text" Editor are getting transformed/mangled (See examples below).

Guy Anela November 14, 2012

HTML links pasted into the Rich Text Editor are getting transformed/mangled (See examples below). This only appears to be an issue in IE (I'm using IE 8). It appears it's trying to convert it to a Wiki Link by wrapping the URL in brackets (???). Either way, it appears to be buggy.

BEFORE:

{html}

<A HREF="http://www.atalassian.com">TEST</A>

{html}

AFTER:

{html}

<A HREF="[http://www.atalassian.com">TEST</A|http://www.atalassian.com%22%3etest%3c/A]>

{html}

Steps to Repeat: Using IE...

1. Load the Editor for a specific page.

2. Select the Rich Text tab.

3. Copy/Paste the following onto the page...

{html}

<A HREF="http://www.atalassian.com">TEST</A>

{html}

4. Switch to the Wiki Markup tab view.

RESULT: The html is transformed to the following:

{html}

<A HREF="[http://www.atalassian.com">TEST</A|http://www.atalassian.com%22%3etest%3c/A]>

{html}

2 answers

1 accepted

1 vote
Answer accepted
Ryan Goodwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2012

Hi,

This is most likely due to the round-tripping bug that has been resolved in Confluence 4.0 editor.

Details here:

https://jira.atlassian.com/browse/CONF-6992

Best Regards,

Ryan Goodwin

Confluence/Crowd Support

Atlassian - San Francisco

0 votes
PeterKoczan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2012

Hi,

I tried to test this on a fresh install of Confluence 3.5.7 but was unable to reproduce it with Internet Explorer.

  • Could you specify the exact version of Confluence and also the HTML macro plugin you are using?
  • Could you check if there's a newer version of the HTML macro plugin and the editor that you could install?
  • Could you try enable plugin safe mode and try reproducing the issue that way?

Regards,

Peter

Guy Anela November 25, 2012

Hey Peter - We're using Confluence 3.5.16 and HTML Plugin 3.2.1. I'll try installing a newer version of the plugin on our sandbox instance and get back to you with the results... I probably won't be able to get to it until later this week though.

Thanks for your response!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events