Re: [Components] How to handle Variables with LineBreak in Template?

2009-06-19 Thread cimodev
Hi Derick > The best way would to do this by styling the output with CSS. Instead of > replacing the text, you can do this: > > > {$variable} > > > See also: http://www.w3.org/TR/CSS21/text.html#white-space-prop Works fine! You're great! Thank you very much! -- Components mailing list Com

Re: [Components] How to handle Variables with LineBreak in Template?

2009-06-19 Thread Derick Rethans
On Thu, 18 Jun 2009, cimodev wrote: > i have the following problem: > > There is an text-area, where user can edit some text containing line breaks. > After submit, i will show this text in an paragraph, but all linebreaks > should be converted to ""-Tags. > > How can i do this? > > In Document

[Components] How to handle Variables with LineBreak in Template?

2009-06-18 Thread cimodev
Hi there! i have the following problem: There is an text-area, where user can edit some text containing line breaks. After submit, i will show this text in an paragraph, but all linebreaks should be converted to ""-Tags. How can i do this? In Documentation i found the str_find_replace-Function.