View Full Version : Help w/ <p> tags and htmlentities()
jeffburg
01-31-2006, 04:04 AM
I am using htmlentities() on my notes tag because its more proper and less likely to screw up older browsers. However, now <p> tags are showing around my notes paragraph. I want to move the <p> tags from the php to the image_template.html but I can't for the life of me find out which php puts those <p> tags in and how to get rid of them. Can someone help me?
se.nsuo.us
01-31-2006, 04:27 AM
By notes do you mean Image Description?
jeffburg
01-31-2006, 04:41 AM
yes.... its referred in the php and templates as image_notes so i used the word notes
Connie
01-31-2006, 04:52 AM
what are you doing? Are you screwing around in the code?
or in an addon?
you must not change the php code, you can always define the <p> by CSS to show up like you want
we do not recommend to edit the code because how will you keep on by upgrading?
jeffburg
01-31-2006, 05:28 AM
i realize about the upgrading, but once i get it set up the way i want there should be no reason to upgrade....
i also don't have the know how to edit the code with an addon unfortunately.
and i know i can add the <p> tag in css but I can't remove it from the php code. So <p>description</p> shows up on the page and i don't want it there.
se.nsuo.us
01-31-2006, 06:54 AM
yes.... its referred in the php and templates as image_notes so i used the word notes
I am using V1.5 but I guess it will be more or less the same comment out the line $image_notes = markdown($image_notes);
BTW markdown not only sucks but is also very resource intensive....
I am using V1.5 but I guess it will be more or less the same comment out the line $image_notes = markdown($image_notes);
BTW markdown not only sucks but is also very resource intensive....
where is this "$image_notes = markdown($image_notes)" I am trying to disable it as well. The <p> is annoying
se.nsuo.us
02-12-2006, 07:04 AM
It is in index.php
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.