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  '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.
Showing posts with label FAIL. Show all posts
Showing posts with label FAIL. Show all posts
Wednesday, February 24, 2010
Sunday, November 12, 2006
Fun compiler bugs
void bar() {}
namespace foo
{
using ::bar;
}
using namespace foo;
// namespace {}
int main(int argc, char * argv[])
{
bar();
return 0;
}
In VC6, the preceding block of code produces
error C2668: 'bar' : ambiguous call to overloaded function
and the error goes away when you uncomment "namespace {}". Yikes.
Subscribe to:
Posts (Atom)