[wp-trac] [WordPress Trac] #18807: Switching from HTML to Visual messes up "samp" elements
WordPress Trac
noreply at wordpress.org
Tue Jan 22 05:28:18 UTC 2013
#18807: Switching from HTML to Visual messes up "samp" elements
--------------------------+--------------------
Reporter: jsumners | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Editor | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Changes (by SergeyBiryukov):
* keywords: has-patch commit => has-patch
Comment:
I can reproduce the original report in 3.2 and 3.6-alpha-23288.
Found an issue with the patch though: the space between `example:` and
`<samp>` disappears when switching to Visual editor:
{{{
This is an example:<samp>/tmp/some.file</samp>. More text.
}}}
If I replace `<samp>` with `<code>`, the space is preserved:
{{{
This is an example: <code>/tmp/some.file</code>. More text.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18807#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list