Please do not hesitate to enter such bugs in JIRA (www.jahia.org/jira). We will then try to do what we can to correct them... Patch of course always welcome ;-)

Cheers,
Stéphane

At 18:09 01/07/2005, you wrote:
Thanks for raising the bug.

Your workaround doesn't work. Our system is already configured with Simple Editor by default (for another bug relating to <applet> tag ;) ). Even with this editor, as soon as we validate the form the replacement takes place.

As a workaround, I've used boolean logic to replace or operators by a combination of not (!) and and (&&). However I would be pleased that this bug could be fixed ( as well as <applet> bug raised by Alexander Weber).

Greetings.

Claude

-----Message d'origine-----
De : Stéphane Croisier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi, 1. juillet 2005 17:42
À : [email protected]
Objet : Re: Javascript or operator



The textx in the Jahia WYSIWYG editors are parsed
to ensure proper HTML encoding (closing tags and
so on) and to automatically remove certain tags
(cf in the Admin Center). The parser (jtidy) may
in certain occurence modifies the default HTML input by the user.

I have created a bug
(http://www.jahia.org/jira/browse/JAHIA-316) for your issue. Thx for the input.

One workaround would be to use the standard
simple text editor (no WYSIWYG editing) and to
save the content. However, if you setup one of
the HTML editor to be the default one, each time
you will reopen this field, the value will be
overriden by this default editor (or use the
simple text editor as the default one).

Regards
Stéphane

At 16:47 29/06/2005, you wrote:
>Hi,
>
>When I write Javascript in a text content in a Jahia page, the or
>operator (||) is replaced by &#124;&#124;, and the scirpt is not working
>any more.
>Is it a known Jahia bug ?
>
>Claude


Reply via email to