doctype elRTE editor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

doctype elRTE editor

Rene Scheibe
-----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 * [hidden email]
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-----
Reply | Threaded
Open this post in threaded view
|

Re: doctype elRTE editor

Jacques Le Roux
Administrator
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" <[hidden email]>

> -----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 * [hidden email]
> 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-----
>