By el_rob on
Hi all,
Just set up the Drupal forum and successfully used the phpBB2drupal module to import existing entries. Oddly, when I view a forum page, an extra paragraph tag is wrapped around each comment.
e.g.
<?php print $content ?>
returns
<p><p>blablabla blablabla</p></p>
Anyone have an idea, what is causing this problem and how I can correct this?
Thanks.
Rob
Comments
get also a buggy TAG!
I create a node "website" and added with CCK the field "image1"
in node-website.tpl.php:
echo $field_image1[0]['view']So - this returns
< d i v class="mainimage">the-image.jpg< / div >< / p > (without these empty spaces!)
Where does this < / p > Tag come from?
Regards,
cyaneo
++++++++++++++++++
http://www.zen-cart.at
++++++++++++++++++
Empty fields get extra paragraph tag
I am also having this problem with the latest version of CCK on 4.7.
If you have an empty non-required field if gets a stray
</p>followed by a line break. It makes it impossible to check to see if the field is empty since even empty fields have this stray paragraph tag in them. I only see this behavior on fields that take formated input not plain text ones.Core bug
After posting a bug report to CCK I found out that this problem is actually a bug in the core of drupal with the check_plain() function.