Opened 19 years ago
Closed 19 years ago
#2375 closed defect (bug) (wontfix)
Post markup getting changed
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
I'm experiencing this problem with Wordpress (2.o and 2.1) where certain HTML tags are getting manipulated when I write a new post. Both with and without the new WYSIWYG editor. Entering in something like this for a post:
<code><pre> h1 { width:400px; height:100px; background:url("image.jpg") top left no-repeat; text-index:-5000em; overflow:hidden; } </pre></code>
Will produce this as output:
<p><code> <pre> h1 { width:400px; height:100px; background:url("image.jpg") top left no-repeat; text-index:-5000em; overflow:hidden; } </pre> <p></code></p>
Using the WYSIWYG editor, I even had instances of this:
<p><code/> <pre> h1 { width:400px; height:100px; background:url("image.jpg") top left no-repeat; text-index:-5000em; overflow:hidden; } </pre> <p></p>
Being that I use XHTML as an application of XML, this is absolutely killer. It even affects posts I made when I was using Wordpress 1.5 (which wouldn't do that) that I hadn't edited after upgrading.
Note: See
TracTickets for help on using
tickets.
This is plugin territory. If you need more control over the markup, see this plugin: http://dev.wp-plugins.org/wiki/TextControl