PDA

View Full Version : 4E Parser Line Breaks?



Cade
August 23rd, 2010, 22:55
Sorry if this has already been answered elsewhere. I searched around a bit and couldn't find anything.

Is there a way to do line breaks with the 4E parser format? <br> just gives me a parse error when I try it. I can use <p></p> tags, but that ends up giving me an extra space between each line.

Zeus
August 23rd, 2010, 23:33
You can use \r for a line break.

Cade
August 24th, 2010, 01:02
You can use \r for a line break.

That doesn't seem to work for me. Does it need to be on a line by itself or something? I've tried:

This is sentence one.\r
This is sentence two.


...and within FG I end up with:

This is sentence one.\rThis is sentence two.

Zeus
August 24th, 2010, 02:21
Is this in Story text or a reference item like a power?

Cade
August 24th, 2010, 02:29
Is this in Story text or a reference item like a power?


In the manual area of the library.

Example:



ZGROUP
Class Features
ZSUBGROUP
Cleric
ZNAME
Healers Lore
ZTEXT
<p>Your study of healing allows you to make the most of your healing prayers. \rWhen you let a creature spend a healing surge to regain hit points with one of your cleric powers that has the healing keyword, add your Wisdom modifier to the hit points the recipient regains.</p>

Zeus
August 24th, 2010, 02:35
Ah then no. I don't think \r is supported in reference text. Its generally supported in power descriptions or reference items where <formattedtext> is not used.

I guess all you can use is something like


<p>First Line</p><p>Second Line</p>