Bug #14433
closedTransforming from a ' in q "
0%
Description
Special Chars like a € or a " are translated automaticallly into a &euro or a " .
I put a small javascript into the contenttype "html and one line was
document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")
and as a output I got:
document.write("<span id="s"+i+"" style="position:absolute;top:-"+snowmaxsize+"">"+snowletter+"</span>")
Of course this doesn't work any more... because a ' had been transformed into a "
(issue imported from #M574)
Updated by old_pirat321 almost 20 years ago
Sorry I forgot to tell that I use
config.doctype = xhtml_trans
config.xhtml_cleaning = all
config.language=de
Updated by Sebastian Kurfuerst almost 20 years ago
The problem is the config.xhtml_cleaning. This breaks this particular javascript because the cleaning is not very "intelligent". You could try moving the javascript to an external file (there is a TS parameter for this I think) so it might not be parsed by xhtml_clearing.
Sebastian
Updated by Mathias Schreiber over 18 years ago
TYPO3 Version too old.
The reported version is no longer maintained.
If this bug still persists in 4.0.1, please re-open it again and set the field "Product Version" to the corresponding version.