HTML Tidy - Add opening tags, instead of removing closing tags?

Posted by Matt Brailsford on Stack Overflow See other posts from Stack Overflow or by Matt Brailsford
Published on 2010-05-01T16:13:43Z Indexed on 2010/05/01 16:17 UTC
Read the original article Hit count: 364

Filed under:
|

Hi Guys,

Is it possible to configure HTML Tidy in the following way:

Given the html:

lorem ipsum</em> dolar sit amet.</p>

To have it generate

<p><em>lorem ipsum</em> dolar sit amet.</p>

Instead of just stripping out the closing tags?

Many thanks

Matt

© Stack Overflow or respective owner

Related posts about c#

Related posts about htmltidy