Issue using code/codebox in posts

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Issue using code/codebox in posts

Postby loboris » Sun Nov 18, 2018 11:36 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Issue using code/codebox in posts

Postby WiFive » Sun Nov 18, 2018 11:50 am

I don't see line endings deleted

ESP_Sprite
Posts: 9727
Joined: Thu Nov 26, 2015 4:08 am

Re: Issue using code/codebox in posts

Postby ESP_Sprite » Sun Nov 18, 2018 12:33 pm

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.

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Issue using code/codebox in posts

Postby loboris » Sun Nov 18, 2018 5:12 pm

You are right, I have quite big browser cache, after clearing it all is as it should be.
Thanks.

Who is online

Users browsing this forum: aygh4266, MichaelS and 104 guests