Tightened up XHTML minimization logic - closes ...
Tightened up XHTML minimization logic - closes ...

Tightened up XHTML minimization logic - closes #2043.


scala/scala,felixmulder/scala,martijnhoekstra/scala,felixmulder/scala,martijnhoekstra/scala,felixmulder/scala,lrytz/scala,lrytz/scala,shimib/scala,slothspot/scala,shimib/scala,scala/scala,jvican/scala,felixmulder/scala,jvican/scala,martijnhoekstra/scala,lrytz/scala,shimib/scala,lrytz/scala,slothspot/scala,scala/scala,jvican/scala,scala/scala,lrytz/scala,martijnhoekstra/scala,jvican/scala,jvican/scala,lrytz/scala,shimib/scala,martijnhoekstra/scala,shimib/scala,shimib/scala,martijnhoekstra/scala,felixmulder/scala,felixmulder/scala,jvican/scala,jvican/scala,scala/scala,slothspot/scala,felixmulder/scala,slothspot/scala,slothspot/scala,slothspot/scala,slothspot/scala,scala/scala