4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: ascanio on December 15, 2005, 09:52:59 PM

Title: Remove the auto <br> tags from the description
Post by: ascanio on December 15, 2005, 09:52:59 PM
hi every on I would like to know if is it possible to remove the <br> tags that the script add on the description section in add images on the control panel
Im going to use the description as a css code section so if i get those tags on the code it will not work

(http://www.graphicsandgens.com/hosting/files/1/Untitled%205.png)
(http://www.graphicsandgens.com/hosting/files/1/Untitled%204.png)
Title: Re: Remove the auto <br> tags from the description
Post by: V@no on December 16, 2005, 01:13:11 AM
Sorry, I didnt understand, where does it add <br> (HTML code)?

I think you combined two images and that's kind of confusing...I have no idea what the screenshot shows...
Title: Re: Remove the auto <br> tags from the description
Post by: ascanio on December 16, 2005, 03:21:26 AM
ok will try to explain myself better
this is what i have done:
on the template details.html
I have change this
Code: [Select]
<textarea onfocus="this.select()"  style="border:1px dashed #808080; float: left" rows="13" cols="69">{image_description}</textarea>so people will be able to copy the code that i put on the description section (second picture)
but when i add that code on the description it ads <br /> to the code (first picutre) and i don't want that cuz the code will not work
so my question is if is any possibility to disable that option.