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

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
Accepted answer

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
Peter Koczan Atlassian Team Nov 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

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
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

61 views 4 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you