This forum swallows braces if no whitespace between { and } with "layout{ this }"
-
This forum has messed-up markup possibilities!!
Write the following in the forum "layout{ this }" but without the 2 whitespaces (preceding and following "this"). Then logout and check your post again. And behold the disappearance-act! ;)
layout{this} // the above line has: layout{ this } , but without the space between '{' and "this" and without the space between "this" and '}'
Needs to be fixed, because frankly... these braces are very important for C++:
curly braced uniform initialization of C++11
(Can't just be dropped in the output!!!) -
The forum uses markdown.
For code snippets please use a backtick (`) to indicate a snippet start and end.
For longer code pieces either use triple backticks (```) or indent every line with four spaces.To help you out, the forum also tries to identify code in your posts and apply code highlighting automatically, however that isn't always so simple, and therefore the backticks are needed.
The small question mark in the post editor provides a link to a markdown cheat sheet too.
-
Arrrgggg..... You misunderstand completely!
Go ahead and write a reply to this message.
In the reply please write this for me:
"layout{ this }"But do not put whitespace before the word
this
and after the wordthis
.
Then logout and check your post again. You'll see that the braces and their content has disappeared. -
@nicesw123 said:
Arrrgggg..... You misunderstand completely!
Go ahead and write a reply to this message.
In the reply please write this for me:
"layout{ this }"But do not put whitespace before the word
this
and after the wordthis
.
Then logout and check your post again. You'll see that the braces and their content has disappeared.Ah now it's there. (or actually not there)
In the reply window it looks ok. And looked ok in your post too, but on this load there is no {this} there. It probably has something to do with markdown thinking it's some formatting.
Looks like a bug on the platform, opening in upstream.
-
@tekojo You wrote: "Looks like a bug on the platform, opening in upstream."
Where did you open the bug? Can you post a link?
Thanks.
-
I've personally noticed since the switch to this forum that many things are wacky!
Sometimes a few sentences will be in a GIGANTIC font but I see no markdown (or up) telling it to do so.
Then code seems to be a mess. I think many of us got used to the @ @ brackets and now code, at least in some older entries is badly formatted and I think it is because some of it had indentation and other parts did not.
-
Hi couldn't resist trying:
layout
// the above line has: layout{this}text works with some HTML entities hack instead of clear text, but formatting as code with backticks and/or 4 spaces indentation is broken :-(
-
@SysTech yeah, the old import is still in textile. That messes old topics.
I have a plan to run a translation tool on all the old entries. But need to test it properly first.And I'm talking to the forum coders, they are a helpful bunch, and they are working to fix the formatting. They had the issue open already.
-
@tekojo Any info on this?
It's been a while; and if I check the top post in this thread... I see the problem has not yet been fixed.Thanks for info.
-
@nicesw123 Waiting on the next release of the forum, which is coming in some weeks (it's an open source project, so asking for release times isn't appropriate). That will have this fix and a bunch of others we want, so we will be updating to it soon after it's out.
-
Here's the relevant link, that you haven't yet mentioned:
-
Oh and please configure the forum (if possible) such that we can see a user's username in posts; and not just the user's image!
Thanks.
-
@nicesw123 yes, will ask that from our designer.