This project has moved and is read-only. For the latest updates, please go here.


Minify HTML problem



i have problem with minify HTML with this code
After i used new HtmlMinifier().Minify(HtmlContent).MinifiedContent i recieved code "<table><tr><td>aaa<td>bbb<td>ccc<tr><td>aa0<td>bb0<td>cc0<tr><td>aa1<td>bb1<td>cc1</table>". Maybe i doing something wrong, but i have problem only with minifing HTML code with table elements.

Thank you for help
Closed Oct 17, 2016 at 2:26 PM by Taritsyn


Taritsyn wrote Oct 17, 2016 at 2:26 PM

Hello, Martin!

Removing of optional end tags is not an bug, but an feature. You can manage this feature by using the following configuration properties: RemoveOptionalEndTags and PreservableOptionalTagList.

P.S.: You have reported about bug to the old repository of WebMarkupMin. The new repository is located on GitHub.