I have a WYSIWYG editor that builds HTML content. The tags are not always built as valid xml, and I need it to be valid xml. Does anyone have such a script? How would I do this?
I'm not sure what language you are using on the server but you might want to look into the Html Agility Pack if you are using .NET
It might be worth having a look at this .NET version of HTML Tidy: Tidy.NET
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With