I disabled the visual editor, but WP is still altering my code
-
I’ve been using WP for years now. I always disable the visual editor because I write my own XHTML in a separate text editor then copy and paste into WP.
With my latest site I have the visual editor disabled. (I’m developing the site locally at the moment.) However, I have a piece of code like the following:
<a href="https://localhost:8888/blahblah" rel="lightbox" title="Name, Painting, 48" x 60""><img src="https://localhost:8888/blahblah/blah.jpg" alt="Painting thumbnail" width="136" height="136" /></a>
And WP is turning it into this (it won’t show it because it turns it into a right quote, but right after the
"
is where a regular quote is supposed to be, instead it’s the fancy ””
“):<a href="https://localhost:8888/blahblah" rel="lightbox" title="Name, Painting, 48" x 60"”><img src="https://localhost:8888/blahblah/blah.jpg" alt="Painting thumbnail" width="136" height="136" /></a>
It’s deciding the end quote in my title attribute is the html entity ”
”
“, a right quote.How can I stop the visual editor from sneaking in and altering my code? If that is indeed the problem.
Thanks
- The topic ‘I disabled the visual editor, but WP is still altering my code’ is closed to new replies.