[opencms-dev] opencms - white spaces

Michael Emmerich m.emmerich at alkacon.com
Thu Oct 11 17:50:03 CEST 2012


Raffaele,

I don't know the htmlcleaner module, but if you use Tomcat (a version 
that is not too old), try the

trimDirectiveWhitespaces="true"

attribute in your JSPs like this

<%@page trimDirectiveWhitespaces="true" ...... %>

This will remove all whitespaces in the HTML output.



Am 11.10.2012 17:42, schrieb Raffaele Guido:
> hi all,
> i have to clean white spaces from my html page.
>
> I downloaded the htmlcleaner module but the documentation doesn't
> explain how to clean the white spaces.
> Can someone explain to me how to do it, please?
>
> thank you
> --
> Raffaele Guido
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

-- 
Kind Regards,
Michael.

-------------------

Michael Emmerich

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list