Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1759 closed Bug (invalid)

& replaced by &amp; inside a <A> tag in Source view

Reported by: David Négrier Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.5.1
Keywords: Cc:


  1. On FCK Editor, click on the "Source button. Then copy and paste the following

<a href="http://toto/?foo=1&bar=2">toto</a>

  1. Click on 'Source' twice (to leave the source view and to come back in the source view)

Actual Result

<a href="http://toto/?foo=1&amp;bar=2">toto</a>

The & has been transformed into a &amp;

Expected Result

<a href="http://toto/?foo=1&bar=2">toto</a>


When clicking on the "Source" button several more times, the &amp; remains there but is not duplicated for each click. Therefore, this bug is different from the #1073.

OS : Windows XP Pro , Windows Vista, Browser : IE 7 and Firefox 2

Thanks and Regards,

Congratulation for your huge work


Change History (2)

comment:1 Changed 17 years ago by Martin Kou

Keywords: source link & &amp removed
Resolution: invalid
Status: newclosed

Hi David

This is actually the correct behavior. Although it is common practice to write "?var1=val1&var2=val2&var3=val3&..." inside the href attribute, the & sign doesn't validate in respect to XHTML 1.1. Writing "&amp;" instead of "&" validates and doesn't change the meaning of the attribute value.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Check out the ForceSimpleAmpersand setting.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy