Wednesday, February 24, 2010

Wordpress Fail

If you have a wordpress blog, try the following:

   1) Create a new post
   2) In the visual editor, start a line with a few spaces followed by some text
   3) Click 'Preview', or click to the HTML tab then back to the Visual tab.

You'll notice your leading spaces have disappeared. Ok, fine, just convert them to &nbsp's in the HTML editor. Now, switch back to the visual editor. Ahh, leading spaces at last. Let's just switch back to the HTML editor for one last tweak. And... the leading spaces are gone again. Welp.

I found one attempt to fix this - unfortunately it's just a bandaid and only works inside shorttags for a specific wordpress plugin.

No comments:

Post a Comment