Re: something really nasty happen to code when you post it here (split from t=26348)

Discussion about the board itself, forums organization and site bugs.
Post Reply
barbaz
Master Bug Buster
Posts: 9987
Joined: Sat Aug 03, 2013 5:45 pm

Re: something really nasty happen to code when you post it here (split from t=26348)

Post by barbaz » Tue Jun 15, 2021 12:05 pm

Giorgio Maone wrote:
Sun Jun 13, 2021 6:39 pm
Not sure why, but something really nasty happen to code when you post it here :(
Especially interpolated strings with variables inside get really messed up.
If we post a single word inside { } and that word is not a shortcut, something on this board erroneously strips the { } away.

To demonstrate, I will literally type "{foo}" in the code tag below (<-- that one was not typed literally) -

Code: Select all

foo
Can this please be fixed?
Temporarily off forum staff at my own request
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
Giorgio Maone
Site Admin
Posts: 9133
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: something really nasty happen to code when you post it here (split from t=26348)

Post by Giorgio Maone » Tue Jun 15, 2021 7:47 pm

It should be fixed now, test for the reduced test case.
Testing here:

Code: Select all

{foo}
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

skriptimaahinen
Senior Member
Posts: 239
Joined: Wed Jan 10, 2018 7:37 am

Re: something really nasty happen to code when you post it here (split from t=26348)

Post by skriptimaahinen » Wed Jun 16, 2021 6:17 am

The code does not get butchered anymore. Thanks!
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

Post Reply