Fixed a weird issue with htmlmin task