deanhume / html-minifier

A simple command line tool to minify your HTML, Razor views & Web Forms views
http://deanhume.github.io/html-minifier/
MIT License
134 stars 86 forks source link

Issue with accents in words #44

Closed bacvothanh closed 4 years ago

bacvothanh commented 6 years ago

There is problem with accents in words. I'm using Asp.net MVC, and when try to use html-minifier, some words on my website display are incorrect. Example :
<h4><i class="fa fa-play-circle-o"></i>Xem gì hôm nay?</h4> --> <h4><i class="fa fa-play-circle-o"></i>Xem gì hôm nay?</h4> Please help me how to fix it

deanhume commented 4 years ago

This should be fixed in the latest release!

https://github.com/deanhume/html-minifier/blob/7208672c9763b442436ffc049c70731ca04dac48/HtmlMinifier.Tests/DataHelpers.cs#L109