[opencms-dev] white space at begining of page - where comes from?

Jonathan Woods jonathan.woods at scintillance.com
Thu Mar 30 13:43:11 CEST 2006


<% doesn't itself produce a blank line, but if your code is like this, for
example...

<h1>Hello</h1>
<%= new Date() %>
<%= "is the current date" %>

... then the new line characters preceding each <% will naturally get
rendered in the output.

Jon
 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph P. Kukulies
Sent: 30 March 2006 11:44
To: opencms-dev at opencms.org
Subject: [opencms-dev] white space at begining of page - where comes from?

I'm pulling my hairs why I have a couple of blank lines at the start of my
page source.

The page invokes a main template which invokes another head-template.
I'm suspecting that every <% produces a blank line but I'm not sure.

Any clue?

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list