<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Velocity whitespace handling is not as written</title>
	<atom:link href="http://www.blueskyonmars.com/2003/10/29/velocity-whitespace-handling-is-not-as-written/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blueskyonmars.com/2003/10/29/velocity-whitespace-handling-is-not-as-written/</link>
	<description>Kevin Dangoor on Software Development</description>
	<pubDate>Sat, 22 Nov 2008 08:13:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Tom</title>
		<link>http://www.blueskyonmars.com/2003/10/29/velocity-whitespace-handling-is-not-as-written/#comment-209862</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 08 Aug 2008 18:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/wordpress/?p=728#comment-209862</guid>
		<description>Wow, after 5 years the document still read like this.  Thank god for this page, as the newline was screwing things up for me!</description>
		<content:encoded><![CDATA[<p>Wow, after 5 years the document still read like this.  Thank god for this page, as the newline was screwing things up for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bae</title>
		<link>http://www.blueskyonmars.com/2003/10/29/velocity-whitespace-handling-is-not-as-written/#comment-280</link>
		<dc:creator>Bae</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/wordpress/?p=728#comment-280</guid>
		<description>BEWARE OF DRAGONS!

As an ugly hack you can use the Velocity line comment syntax "##" to workaround this whitespace problem.

The whitespace after #if seems to be ignored so you can write constructs like this:

#macro( testMacro )
#if (  )
This output will not have any leading whitespace, nor trailing whitespace.  Because the line is terminated via the line comment##
#else
Without the line comment, this line has an extra new line which wrecks your template.
#end
#end

Enjoy
</description>
		<content:encoded><![CDATA[<p>BEWARE OF DRAGONS!</p>
<p>As an ugly hack you can use the Velocity line comment syntax &#8220;##&#8221; to workaround this whitespace problem.</p>
<p>The whitespace after #if seems to be ignored so you can write constructs like this:</p>
<p>#macro( testMacro )<br />
#if (  )<br />
This output will not have any leading whitespace, nor trailing whitespace.  Because the line is terminated via the line comment##<br />
#else<br />
Without the line comment, this line has an extra new line which wrecks your template.<br />
#end<br />
#end</p>
<p>Enjoy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.294 seconds -->
