Bug: code formatting messes up curly braces
-
wrote on 10 Jul 2010, 16:00 last edited by
C++ code has a tendency to include curly braces. They don't seem to be correctly parsed on this forum.
You can see this in the code below:
@Foo* foo::instance()
{
return createFoo();}
@Instead of curly braces, you get { and }
-
wrote on 11 Jul 2010, 18:32 last edited by
Funny how the escaped code that I put in the text is replaced by actual curly braces (and should NOT be!). You get curly braces when you don't want them, and escape codes when you want the braces... :(
-
wrote on 12 Jul 2010, 12:50 last edited by
it sometime also messes up with normal braces
like
@ button->show();
return app.exec();@which should actually be the same braces.
-
wrote on 12 Jul 2010, 12:51 last edited by
We are still fiddling with this. The issues are in. Thanks for reporting!
-
wrote on 12 Jul 2010, 12:54 last edited by
I also just noticed, that the preview doesnt show the code preview correctly. The code is only shown as plain text there
-
wrote on 12 Jul 2010, 12:54 last edited by
I've reported this bug "here":http://bugreports.qt.nokia.com/browse/QTWEBSITE-46.
1/6