This is really frustrating. I am using a form code which has lot of new line breaks and drupal is automatically adding
making the formating totally messed up. I DO NOT want it to add new line break unless I specifically uses
tag. Please do tell me what should I do ?

I am using paypal payment buttons and the page is completely screwed up due to automatic line breaks and it is not funny :(

Comments

Pushkar Gaikwad’s picture

In frustration, I forgot to type few words too :)

What I am saying is - I do not want drupal to add automatic < br > tags whenever I gives new line break unless I specifically uses that
tag. I am using Full HTML option.

Thanks

Pushkar Gaikwad’s picture

Ok, this sucks. I had to use php option instead of Full HTML to get rid of automatic line breaks.

Its amazing how things get solved when u keep your head calm and think...Sorry for mindless spamming(of 3 posts)

Regards

chadchandler’s picture

Well, not necessarily. Admin>>Site Config >> Input Formats

This is all off the top of my head, but you can configure the input formats there in settings. I believe you can remove automatic line breaks, or use Filtered.

scb’s picture

You may configure which filters apply to each input format, or create another one which fits your needs.

Go to administer>Input formats (admin/settings/filters). You may click on configure for the full HTML filter and there you may uncheck the automatic line break filter. Or create another input format of your own and select which filters you want to use in it.

Sergio Caridad - www.artefantastico.com

akberhussain’s picture

. How to remove br tag in drupal
Ans: Go to Home » Administer » Site configuration » Input formats Click On configuration Full HTML and uncheck Line break converter Converts line breaks into HTML (i.e. and tags).