Search found 1 match

by phpante
Mon Nov 11, 2002 7:08 am
Forum: PHP - Code
Topic: PHP - Transform HTML to valid XHTML
Replies: 2
Views: 779

PHP - Transform HTML to valid XHTML

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 <FONT COLOR=#FF0000>hello!</FONT> but I want to transform the code to be valid XHTML i.e <font color="#FF0000"...