Quantcast
Channel: Web Markup Minifier
Viewing all articles
Browse latest Browse all 95

Commented Unassigned: Minify HTML problem [24]

$
0
0
Hello,

i have problem with minify HTML with this code

```
<table>
<tbody>
<tr>
<td>aaa</td>
<td>bbb</td>
<td>ccc</td>
</tr>
<tr>
<td>aa0</td>
<td>bb0</td>
<td>cc0</td>
</tr>
<tr>
<td>aa1</td>
<td>bb1</td>
<td>cc1</td>
</tr>
</tbody>
</table>
```

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
Comments: 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](https://github.com/Taritsyn/WebMarkupMin).

Viewing all articles
Browse latest Browse all 95

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>