[TYPO3] link code changing

Christopher qozmiq at gmail.com
Fri Apr 4 21:28:21 CEST 2008


Maybe I was obtuse in my explanation....

When this code was input into the code editor....(totally valid HTML)

<script type='text/javascript' src="
http://360.tsi-media.de/js/tsi_writer.js?id=b3917ff9252h5007e3f3&amp;fc=f3&amp;opt=Flash<http://360.tsi-media.de/js/tsi_writer.js?id=b3917ff9252h5007e3f3&fc=f3&opt=Flash>Full
Screen"></script></p>

This code was spit out...Doubt quotes replaced by single quotes....Carrots
replaced by their code equivalent...as were ampersands.

#-&lt;script type='text/javascript' src='
http://360.tsi-media.de/js/tsi_writer.js?id=b3917ff9252h5007e3f3&amp;fc=f3&amp;opt=Flash<http://360.tsi-media.de/js/tsi_writer.js?id=b3917ff9252h5007e3f3&fc=f3&opt=Flash>Full
Screen'&gt;&lt;/script&gt;</p>

Why does TiePoeDrei do this?


On Fri, Apr 4, 2008 at 8:03 PM, Dmitry Dulepov [typo3] <dmitry at typo3.org>
wrote:

> Btw, hello! ;)
>
> Christopher wrote:
> > I have a user who is putting in href  link into the code version of the
> > WYSIWYG and when saved, it returns a yellow box with red outline.
>  Returning
> > to the code view, TYPO3 has changed some of the carrots to &lt, and the
> > ampersand was changed to &amp.  Why is this happening?
>
> Because links in HTML may not have & and < characters. They must be
> escaped according to HTML specification.
>
> --
> Dmitry Dulepov
> TYPO3 core team
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
> "Nothing is impossible. There are only limits to our knowledge"
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list