PHP - Transform HTML to valid XHTML
Posted: Mon Nov 11, 2002 7:08 am
Does anybody have a script that takes a string of HTML as input and transforms the string and outputs a string containing valid XHTML.
I have an WYSIWYG-editor that produce code as but I want to transform the code to be valid XHTML i.e .
Anybody got any idea?
Thanks,
Andreas
I have an WYSIWYG-editor that produce code as
Code: Select all
<FONT COLOR=#FF0000>hello!</FONT>Code: Select all
<font color="#FF0000">hello!</font>Anybody got any idea?
Thanks,
Andreas