Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20915

Copying and pasting links that use the color macro doesn't work

XMLWordPrintable

      Start with this wiki markup

      [{color:#008000}CONF-20128{color}|http://jira.atlassian.com/browse/CONF-20128] 

      In Firefox Rich Text mode, copy and paste it. The pasted text loses the {color} macro and the markup becomes

      [{color:#008000}CONF-20128{color}|http://jira.atlassian.com/browse/CONF-20128] [CONF-20128|http://jira.atlassian.com/browse/CONF-20128] 

      In IE Rich Text mode, copy and paste it. The pasted text gains 2 line breaks, loses the hyperlink information and the markup becomes

      [{color:#008000}CONF-20128{color}|http://jira.atlassian.com/browse/CONF-20128] 
      
      {color:#008000}CONF-20128{color} 

      In a WebKit browser in Rich Text mode, copy and paste it. The {color} macro in the original link moves outside the link, which is fine, the pasted text gains a line break and the markup becomes completely jumbled

      {color:#008000}[CONF-20128|http://jira.atlassian.com/browse/CONF-20128]{color}{color:#008000} {color}{color:#ff6400}[{color:#008000}CONF-20128{color}|http://jira.atlassian.com/browse/CONF-20128]{color}

              smansour Sherif Mansour
              adc6ee404f6d Jeff Kirby
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: