Text format - show breaks

How do I make a post to a blog format with the same breaks the user
added?

for example:

the user typed in:

'Hello

This is a post’

And my output is like this:

‘Hello This is a post’

How do I format it with the correct breaks?

Thanks

On Tue, 2007-10-16 at 17:17 +0200, David M. wrote:

And my output is like this:

‘Hello This is a post’

How do I format it with the correct breaks?

simple_format


Tore D.
[email protected]
Trondheim, NO
http://tore.darell.no/

Will simple_format protect from embedded nasty html?

On Tue, 2007-10-16 at 10:31 -0500, Michael G. wrote:

Will simple_format protect from embedded nasty html?

No, you need h() in addition to it: simple_format(h(text))


Tore D.
[email protected]
Trondheim, NO
http://tore.darell.no/