Attributes can be wrapped with conditionals

Added fix and tests.
Update the html-minifier dependency when customAttrOpen &
customAttrClose is working inside the latest release.