#1759 closed Bug (invalid)
& replaced by & 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: |
Description
- On FCK Editor, click on the "Source button. Then copy and paste the following
<a href="http://toto/?foo=1&bar=2">toto</a>
- 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&bar=2">toto</a>
The & has been transformed into a &
Expected Result
<a href="http://toto/?foo=1&bar=2">toto</a>
Observation
When clicking on the "Source" button several more times, the & 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
David.
Change History (2)
comment:1 Changed 17 years ago by
Keywords: | source link & & removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
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 "&" instead of "&" validates and doesn't change the meaning of the attribute value.