[TYPO3-RTE] Avoiding stolen entities when switching between html code view and wysiwyg view?
Nyeki Attila
thewondererus at yahoo.com
Tue Jul 11 13:46:18 CEST 2006
Uschi Renziehausen wrote:
> Martin Kutschker wrote:
> Hi Masi,
>> Uschi Renziehausen schrieb:
>>> Hi Masi,
>>>
>>>>> - In wysiwyg I write < (some of us do have to talk ABOUT
>>>>> entities!).
>>>>> - I switch to code view and I see < where it should be &lt;
>>>>
>>>> You must also *write* &lt;.
>>>
>>> You do not call this a solution, do you?
>>
>> Sorry, I thought you want to write it in HTML-mode.
>>
>> > What happens if I reload the
>>> content from the database and then store it again? I have to correct
>>> the my text each time! Not me, but the html mode has to write
>>> &lt; I am working wysiwyg!.
>>
>> Hihi, you don't have to save it.
>>
>> Enter &lt; in HTML-mode and toggle to WYSIWYG (no it's <), back
>> (still <!) and finally to WYSIWYG (finally <).
>>
>> It seems that all the basic HTML entities (< > " &) are
>> not "escaped" by replacing the leading & with & when switching to
>> HTML mode. Other entities like ä work like expected.
>>
>
> Exactly, do you know where that happens and where I can PLEEEEEEEEEASE
> stop this behaviour? I am so frustrated, fed up with and tired of those
> transformations on all levels, that I could jump out of the window, eat
> my keyboard!
>
> Ciao, Uschi
>
>> I tried to trick the editor by entering &<span></span>lt; in the
>> HTML mode. But it survives only the first save.
just a weak tip:
RTE.default.proc {
dontHSC_rte = 1
dontUndoHSC_db = 1
}
have you tried other combinations of these two options?
More information about the TYPO3-project-rte
mailing list