add  the option to minfy html string