Hi,
I have a node whose content is html without '<p>', and a theme which does a print $content without adding '<p>'. However, when looking at the generated html I see *two* '<p>' before the content. Of course, they are correctly closed, however it's a bit too much (and not html-compliant) and prevent from adding <p> in the content itself.
Does anyone know where does that come from ?
Thanks,
Xav
Quoting Xavier Bestel xavier.bestel@free.fr:
Hi,
I have a node whose content is html without '<p>', and a theme which does a print $content without adding '<p>'. However, when looking at the generated html I see *two* '<p>' before the content. Of course, they are correctly closed, however it's a bit too much (and not html-compliant) and prevent from adding <p> in the content itself.
Does anyone know where does that come from ?
It comes from the misnamed (IMO) Input Formats you've chosen. You can add one of your own and do not include the line break converter filter.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
On Mon, 2008-01-14 at 07:48 -0500, Earnie Boyd wrote:
Quoting Xavier Bestel xavier.bestel@free.fr:
Hi,
I have a node whose content is html without '<p>', and a theme which does a print $content without adding '<p>'. However, when looking at the generated html I see *two* '<p>' before the content. Of course, they are correctly closed, however it's a bit too much (and not html-compliant) and prevent from adding <p> in the content itself.
Does anyone know where does that come from ?
It comes from the misnamed (IMO) Input Formats you've chosen. You can add one of your own and do not include the line break converter filter.
Exactely. Thanks a lot Earnie !
Xav