[opencms-dev] Firefox write Valid XHTML code - IE Fails

Borja Marcos Suarez borja.suarez at fundacionctic.org
Fri Jun 24 12:40:02 CEST 2005


Thanks Stefan but it's not this.

 

In /system/workplace/editors/htmlarea/editor_configuration.xml file I have the following lines and Internet Explorer matches with the first regular expression.

 

            <agent>^Mozilla/4\.0 \(compatible; MSIE 6\.\d*; .*\)$</agent>

            <agent>^Mozilla/4\.0 \(compatible; MSIE 5\.\d*; .*\)$</agent>

            <agent>^Mozilla/5\.0 \(.* rv:1\..*\) Gecko/200\d* .*$</agent>

 

The problem is that IE writes HTML elements uppercase, without quotes and so on while Firefox writes the right code.

 

Is someone editing with IE and generating valid xhtml pages?? How?

 

I'd like to try to change this generator code or to write a class that checks the written code and corrects it but I can't find where is generated this code (.js, .jsp, java class,...???)

 

What do you think??

 

Thanks for your help,

 

Borja Marcos

 

 

________________________________

De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] En nombre de Stefan Uldum Grinsted
Enviado el: viernes, 24 de junio de 2005 11:08
Para: The OpenCms mailing list
Asunto: RE: [opencms-dev] Valid HTML code

 


Hi. 

I beleave you just have to add an entry in the file: 

/system/workplace/editors/htmlarea/editor_configuration.xml 

so HTMLArea is used in IE. I don't have the correct line, but it should be easy as pie. 

Best regards
Stefan Uldum Grinsted
sug at interactive.as




"Borja Marcos Suarez" <borja.suarez at fundacionctic.org> 
Sent by: opencms-dev-bounces at opencms.org 

24-06-2005 10:59 

Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>

To

"The OpenCms mailing list" <opencms-dev at opencms.org> 

cc

 

Subject

RE: [opencms-dev] Valid HTML code

 

 

 




Yeah!

The problem appears only with IE, mmm...I wonder why ;)

Editing with Firefox elements are written in lowercase and are HTML valid.


Now the problem is how to convince content editors to avoid using IE.


Thanks for your response Andras,




-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] En nombre de Andras Balogh
Enviado el: viernes, 24 de junio de 2005 10:03
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Valid HTML code

Hello,

Which WYSIWYG editor are You using? Have you tried with Mozilla FF and 
HTMLArea?
Or what you describe is happening in IE?

Best regards,
Andras.

Borja Marcos Suarez wrote:

> Hello,
>
> When editing pages with the WYSIWYG editor the HTML elements are 
> written as uppercase letters (LI, P, A...).
>
> This is not valid under W3C recommendation; can anyone tell me where 
> or how can I change all the elements to lowercase?
>
> I'm not sure if I have to change the java code or change a .js file.
>
> Please, help :)
>
> Thanks in advance.
>
> **********************************************************
> Borja Marcos Suárez
>



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050624/435eff37/attachment.htm>


More information about the opencms-dev mailing list