Page 1 of 1

Issue using code/codebox in posts

Posted: Sun Nov 18, 2018 11:36 am
by loboris
It looks like the forum's editor is no longer working as expected when using Code & Codebox buttons.
As a result, many recent posts with included code are unreadable.

For example, selecting the following text:
line1
line2
line3
line4

with Code button, produces the wrong result (line endings deleted):

Code: Select all

line1
line2
line3
line4

Selecting with Codebox button has no effect:

[Codebox]line1
line2
line3
line4
[/Codebox]

Selecting with one of Select code pull-down menu produces the expected result:
  1. line1
  2. line2
  3. line3
  4. line4

The issue should be fixed as soon as possible.

Re: Issue using code/codebox in posts

Posted: Sun Nov 18, 2018 11:50 am
by WiFive
I don't see line endings deleted

Re: Issue using code/codebox in posts

Posted: Sun Nov 18, 2018 12:33 pm
by ESP_Sprite
There's been some funny business going on with the code tag since we ran a forum software upgrade... Last time I checked it's been fixed, but because of Reasons, it may still linger in your browsers cache.

Re: Issue using code/codebox in posts

Posted: Sun Nov 18, 2018 5:12 pm
by loboris
You are right, I have quite big browser cache, after clearing it all is as it should be.
Thanks.