Author Topic: Remove the auto <br> tags from the description  (Read 4382 times)

0 Members and 1 Guest are viewing this topic.

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Remove the auto <br> tags from the description
« 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



Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Remove the auto <br> tags from the description
« Reply #1 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...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Remove the auto <br> tags from the description
« Reply #2 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.