[opencms-dev] Stupid New Lines
Achim.Westermann at gmx.de
Thu Dec 15 19:28:53 CET 2005
it is not caused by the OpenCms tags. If a tag ends, normal HTML mode is
on again for the jsp container (tomcat) and it inserts a new line to the
generated servlet code.
A workaround is:
<cms:contentcheck element="Teaser"> <%--
<cms:contentshow element="Teaser"/> <%--
It's pretty ugly and hard to read. So better finish coding before
entering this. Especially identation is hard to guess after you escape
> Hi All!
> For every JSP-Tag ( <cms:xxxxxxx > ) I got a new line in HTML-Code (not
> a <br>, but a \n !). If I use a cms:contentload Tag and the
> cms:contentshow, there were many stupid new lines generate :-(
> How can I suppress these new lines? Any idea?
> best regards
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
More information about the opencms-dev