01.24.07
Linebreak in WordPress 2.1
In 2.1 seems there’s no way to get extra space using <br /> and linebreaks.
I love linebreaks, and wordpress dev-team hates linebreaks.
When switching from ‘Visual’ to ‘Code’, or when saving, seems wordpress automatically remove simple <p> and <br /> tags…. Maybe for autop friendly and makes the post smaller…perfectly reasonable.
But when you press some shift-enter(generate <br /> in TinyMCE) in Visual, then switch to Code, <br /> will become linebreaks. Then you switch back to Visual, now TinyMCE strip the linebreaks. Without switching, yes, you can save linebreaks correctly, but if you load that article again in the editor, linebreaks will be eaten again by TinyMCE.
And worse thing is, now the post filter doesn’t generate <br /> against linebreaks
Even if I turn off the RTE and manually add 100 <br /> tags, the post filter will eat them all!!
GREAT JOB…I’m starting to feel sorry for upgrade to 2.1….

ovizii said,
02.06.07 at 10:00 pm
hi there,
I know how you feel, I need spaces too. I even tried some plugins that promise to let you choose how each psot will be formated, individually, but I have not found a working one for wp 2.1
I NEED spaces, what to do? have you found a solution yet? do you know which file is responsible for filtering? there must be a file which has soem tags defined that will get stripped and a lsit for tags that are allowed, if you find out which file that is, we can modify it so we can use whichever tags we want…
priv said,
02.06.07 at 10:34 pm
Using <p> </p> is a work-around.
Add one of that you can have about two-line extra space between paragraphs.
(But things are more complicate as I complained here, and currently I don’t have a solution to have one-line space in lists without breaking the html)
Another way I can think of, is using inline css to adjust the space between paragraphs, but that’s crazy.
Actually I’m giving up currently.
TheShadowNest said,
08.01.07 at 1:06 pm
Just noticed same thing on my blog, I either have to add spacing to my tags through the css which will be a nightmare. or live with badly formatted blog text.
Thats a very bad mistake on their part, it should respect br / tags…
Chris Coyier said,
08.26.07 at 10:40 am
Yeah this is seriously annoying. I have the rich editor turned off completely and can’t get a line break for the life of me. I’m just going to use the work around priv mentioned.
Esme said,
01.25.08 at 1:12 am
If someone find a fix for this PLEASE let us know… It’s just painful.
Acomplia said,
06.27.08 at 1:31 am
Acomplia (rimonabant) is an anti-obesity drug. It was approved for marketing in the European Union in June 2006. Rimonabant is not yet approved for use in the United States, where it is known as Zimulti. http://www.acompliaonline.com
acomplia said,
08.03.08 at 2:59 pm
Rimonabant is an anorectic anti-obesity drug. It is a CB1 cannabinoid receptor antagonist.
Rimonabant has been found to stop food craving enough to help people lose weightThis is a
non-control weight loss solution that in one study helped people who were overweight drop
an average of 20 pounds. http://www.ipetitions.com/petition/buyacomplia/
http://www.netscape.com/member/jennyacomplia