minor, br tag appears and disappears.

Found a bug? Tell us!!
Post Reply
dogshed
Regular
Posts: 20
Joined: Tue Jul 18, 2006 3:54 pm

minor, br tag appears and disappears.

Post by dogshed »

I noticed I had typed my entire post in the top window. I decided to cut and paste all but the first two paragraphs into the "extended text" window.

I used ctrl-X to cut and ctrl-v to paste while in wysiwyg mode. When I switch both windows to html mode I see at the end of the second paragraph an ending br tag with the slash.

Selecting a preview shows extra space between the second and third paragraphs but now the ending br tag is gone. It also disappears when I save the entry.

-Jeff
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

Post by mattsches »

Looks like everything's working as it's supposed to be :D

Or, what exactly is your question (since you did not post any)?
dogshed
Regular
Posts: 20
Joined: Tue Jul 18, 2006 3:54 pm

Post by dogshed »

mattsches wrote:Looks like everything's working as it's supposed to be :D

Or, what exactly is your question (since you did not post any)?
I'm pretty sure people don't usually ask questions in a bug report.

If you say it's normal then I'll go with the flow but it seemed odd to put in a line break and then take it out. -Jeff
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The problem is that the bundled WYSIWYG editor puts in that extra space. But s9y figures its obsolete, so it removes that upon saving. Sometimes the WYSIWYG only puts a "<br />" into the entry, which would then show up as extended body, so we strip all trailing breaks...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply