[TYPO3-english] TEXT / HTML object changes single quotes into double ones
info at ursbraem.ch
Fri Aug 19 16:33:52 CEST 2011
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.
Does anybody have a hint on how to get (inline) code *completely*
unparsed into the rendered page?
Am 17.08.11 13:01, schrieb Urs Bräm:
> Hi all
> Short version:
> The TEXT and HTML object messes with single quotes in a snippet I'm
> trying to insert into the page object. It changes the single quotes into
> double ones. Is there a way to keep the quotes just as they are?
> Long version:
> I am trying to insert the following snippet (from http://html5reset.org)
> into my page:
> <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
> <script>window.jQuery || document.write('<script
> I do it like this:
> page.900 = HTML
> # ... or TEXT, same effect
> page.900.value (
> # ... left out some stuff
> <script>window.jQuery || document.write("<script
> But stdWrap messes with the quotes!
> That's what it inserts:
> So it converted the inner single quotes into double quotes. Whitch
> results in a JS Error.
> Is there a way to get the code completely untouched into the page object?
Certified Typo3 Integrator
More information about the TYPO3-english