Hi together
We are using a Rich text Editor like this one:
[url]http://home.att.net/~codeLibrary/HTML/html_edit.htm
so based on Javascript.
The users can set text bold, italic, …
However we need a button which checks that the content which is entered into the Textarea is strict valid HTML, has someone done this before ?
The background of my question is, that we are building a CMS, which allows users to also enter HTML Source Code into the Rich Text Editor, however later we want to generate also pdfs out of the Content. To do this we have a Javaclass which takes the HTML Page (which is generated out of the RTE Field) and ‘transforms’ it into a pdf. However it fails when the content which is entered is not valid html ?
So we need to check for valid HTML, when content is entered.
(some dtd check or xml check, I am not so familiar with this)
Thanx for your help
and Greetings
Hans