#1248 closed defect (bug) (fixed)
Editing posts produces linebreak madness
Reported by: | anonymousbugger | Owned by: | matt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.5.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
When writing long lines, WordPress automagically inserts linebreaks. This screws up the formatting if you edit a post.
Change History (7)
#3
@
19 years ago
The problem is generated by the javascript introduced in changeset 2536: http://trac.wordpress.org/changeset/2536. Downgrading to a prior revision restored functionality: svn up -r 2535
EDIT: typos
edited on: 04-17-05 00:05
Note: See
TracTickets for help on using
tickets.
Could reproduce this behaviour with a trunk build, in Firefox.
Couldn't reproduce it in any other browser except Gecko-based ones.
So it looks like Firefox (or [insert Gecko browser name here]) adds linebreaks in the textarea when it renders it.
When WP receives the updated content, it sees linebreaks and adds br tags.
This looks like a Gecko-specific bug, that, given the platform's marketshare, ought to be worked around in WP.