[TYPO3-english] TEXT / HTML object changes single quotes into double ones

Xavier Perseguers xavier at typo3.org
Fri Aug 19 16:43:11 CEST 2011


Hi,

Urs Bräm wrote:
> I now noticed that it's not only the TEXT / HTML object, also when I put
> the concerned line (see below) into the HTML Template, the single quotes
> for the SRC attribute are changed into double ones.
>
> This would occur also with the Extension "sourceopt" off.
> Tidy is also off.

I just created a blank template with basically:

page = PAGE
page.10 = HTML
# ... or TEXT, same effect
page.10.value (
# ... left out some stuff
<script>window.jQuery || document.write("<script 
src='fileadmin/templates/main/js/jquery-1.5.1.min.js'>\x3C/script>")</script>
)

and the result is...

# ... left out some stuff
<script>window.jQuery || document.write("<script 
src='fileadmin/templates/main/js/jquery-1.5.1.min.js'>\x3C/script>")</script>

as expected! You must have some 3rd-party extension causing the problem 
you described.

Regards

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-english mailing list