Project

General

Profile

Actions

Bug #14433

closed

Transforming from a ' in q "

Added by old_pirat321 almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2004-12-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Special Chars like a € or a " are translated automaticallly into a &euro or a &quot .
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&quot;+i+&quot;" style="position:absolute;top:-&quot;+snowmaxsize+&quot;">"+snowletter+"</span>")

Of course this doesn't work any more... because a ' had been transformed into a "

(issue imported from #M574)

Actions #1

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

Actions #2

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

Actions #3

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.

Actions

Also available in: Atom PDF