[wp-trac] [WordPress Trac] #22720: Insert Media produces inconsistent results (depending on captions)
WordPress Trac
noreply at wordpress.org
Tue Dec 4 23:02:20 UTC 2012
#22720: Insert Media produces inconsistent results (depending on captions)
--------------------------+------------------------------
Reporter: tar.gz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by azaozz):
Replying to [comment:9 tar.gz]:
> Since we seem to agree on the \n\n between single images, it would be
logical if the Visual editor's insert operation would add them as well.
They are actually added to the Visual editor, but it strips all line
breaks from the html while switching to the Text editor as line breaks are
significant there. In the Text editor `\n\n` is a paragraph separator and
gets converted to <p> on display and on switching to Visual.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22720#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list