Re: Javascript or operator

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.