You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by René Scheibe <re...@tngtech.com> on 2011/02/01 16:57:11 UTC

doctype elRTE editor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

applications/content/webapp/content/website/WebSiteCMSNav.ftl:369
doctype  : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', //'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">',

Can anybody tell why HTML is used instead of XHTML for the doctype?
Have there been any problems (because it's commented out)?

Because of this, self-closing elements like <br /> are replaced with <br> and therefore ecommerce pages don't validate against W3C.

Cheers,
René Scheibe
- -- 
René Scheibe * rene.scheibe@tngtech.com
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ILVcACgkQUXs9EHvIuCr3HQCfT45uLaPdWGwRhyY/ZYkPKgDd
tvwAn1svshvT5OX63OionJQNYFCrB7DT
=huYS
-----END PGP SIGNATURE-----

Re: doctype elRTE editor

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi René,

This is the default http://elrte.org/redmine/projects/elrte/wiki/Docs_EN. I remember having read something about that, but can't 
reminder what :/
I think you can safely use another doctype, but never tried...

Jacques

From: "René Scheibe" <re...@tngtech.com>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> applications/content/webapp/content/website/WebSiteCMSNav.ftl:369
> doctype  : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', //'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
> Transitional//EN">',
>
> Can anybody tell why HTML is used instead of XHTML for the doctype?
> Have there been any problems (because it's commented out)?
>
> Because of this, self-closing elements like <br /> are replaced with <br> and therefore ecommerce pages don't validate against 
> W3C.
>
> Cheers,
> René Scheibe
> - -- 
> René Scheibe * rene.scheibe@tngtech.com
> TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
> Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
> Sitz: Unterföhring * Amtsgericht München * HRB 135082
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1ILVcACgkQUXs9EHvIuCr3HQCfT45uLaPdWGwRhyY/ZYkPKgDd
> tvwAn1svshvT5OX63OionJQNYFCrB7DT
> =huYS
> -----END PGP SIGNATURE-----
>