<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: How to use a newline character in a template]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in How to use a newline character in a template of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 06 Feb 2015 23:27:17 +0200</lastBuildDateTag>		<item>
			<title>How to use a newline character in a template</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic11676/message41591/">How to use a newline character in a template</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Isn't the macro %NEWLINE what you need? It has an optional parameter to return the number of emply lines, e.g. %NEWLINE(5) or %NEWLINE="5" returns 5 empty lines. <br />
			<i>06 February 2015 23:27:17, <a href="http://www.ritlabs.com/en/forums/">Maxim Masiutin</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic11676/message41591/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic11676/message41591/</guid>
			<pubDate>Fri, 06 Feb 2015 23:27:17 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>How to use a newline character in a template</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic11676/message40030/">How to use a newline character in a template</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Try this:<br /><br />To: %TOlist %IF:%CClist&lt;&gt;"":"<br />cc: "%CClist<br />From: %FROMNAME &lt;%FROMADDR&gt;<br />Subject: %SUBJ<br />Date: %ODATE <br />
			<i>04 July 2014 12:05:15, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic11676/message40030/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic11676/message40030/</guid>
			<pubDate>Fri, 04 Jul 2014 12:05:15 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>How to use a newline character in a template</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic11676/message40027/">How to use a newline character in a template</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I'm working on this print template (numbered here for reference):<br /><br />1 To: %TOlist<br />2 %IF:%CClist&lt;&gt;"":"cc: "%CClist<br />3 From: %FROMNAME &lt;%FROMADDR&gt;<br />4 Subject: %SUBJ<br />5 Date: %ODATE<br /><br />The problem here is that line 2 shows as a blank line if no cc: addresses exist. &nbsp;Mashing in the regex character '\n' just for illustration, this is what I'm aiming for:<br /><br />1 To: %TOlist %IF:%CClist&lt;&gt;"":"\ncc: "%CClist<br />2 From: %FROMNAME &lt;%FROMADDR&gt;<br />3 Subject: %SUBJ<br />4 Date: %ODATE<br /><br />Is there some variable I can use in place of '\n', or some other way to handle this?<br /><br />Many thanks for any suggestions! <br />
			<i>03 July 2014 19:23:48, <a href="http://www.ritlabs.com/en/forums/">Hugh Campbell</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic11676/message40027/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic11676/message40027/</guid>
			<pubDate>Thu, 03 Jul 2014 19:23:48 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
