Bug Error when pasting code in post editor

There is a bug in this version
M

MillhioreBT

Guest
I've had this problem with the post-thread editor for quite some time now, I don't know why no one has talked about it or have they?
What happens is the following:

Open a block of code
Copy some well-formatted code with its corresponding line breaks
Paste in the code block

Expected result:
The code copied correctly with its corresponding format.
example.lua
Code:

Code:
local x = 0

function test()
    local var = 0

    if x == 0 then
        var = 1
    end

    return var
end

Current...

Read more

Continue reading...