Page 1 of 1

Solved: News module strips p tags in

Posted: Mon Sep 24, 2012 3:18 pm
by Nettie
I installed a fresh version of 1.11.2 and are using the simplex template.

When i write a text in news, it doesnt show the p tags in the source code in the news summary.

Example:
<p>some text</p>
<p>some more text</p>

Turns out as:
<p>some text
some more text</p>

in the source. Any suggestions how to fix this?

Re: News module strips p tags in

Posted: Mon Sep 24, 2012 3:30 pm
by Nettie
Found out myself.

In the template i removed |strip_tags from the following:

<p>{eval var=$entry->content|strip_tags}</p>