Lars Geldner wrote:
Dear Lenya users,
we included the fckeditor module according to the instructions given at the
Lenya homepage (Lenya 2.0.2, fckeditor 2.4.3).
If I add a simple table to my page using the WYSIWYG modus of fckeditor and click
"Save" Lenya says:
* error: attribute "border" not allowed at this point; ignored
* error: attribute "cellpadding" not allowed at this point; ignored
* error: attribute "cellspacing" not allowed at this point; ignored
* error: attribute "width" not allowed at this point; ignored
* error: unknown element "tbody" from namespace "http://www.w3.org/1999/xhtml"
* error: unfinished element
* error: element "br" from namespace "http://www.w3.org/1999/xhtml" not
allowed in this context
* error: element "br" from namespace "http://www.w3.org/1999/xhtml" not
allowed in this context
It seems to be the same problem like this one of year 2006:
http://www.mail-archive.com/[email protected]/msg04273.html
Do I really have to write my own XSLT stylesheets that are removing the
"invalid" elements/attributes? Or is there a smarter solution available in the
meanwhile?
Thanks in advance + regards,
Lars
There already is an xslt that does the cleaning, it just is missing some
of the items. I think I copied what Doug provided in another message.
Tonight I will look over the changes I made and post them to the list. I
will also look them over and perhaps update the master clean-xhtml.xsl
file. I should also go through and test FCK with its latest release, but
that won't happen until next week.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]