coronalabs/corona-docs

Code formatting in docs now contains hidden characters

XeduR opened this issue · 1 comments

XeduR commented

Seems that some recent change may have broken the code formatting on the docs. I noticed this some days ago already, but today I double checked and it seems to affect every code block in the documentation.

There is some invisible character in place of empty lines, tabs, etc. that will prevent the code from being run. These invisible characters become visible when using tools like Luacheck in Visual Studio Code.

See: https://docs.coronalabs.com/api/library/json/decode.html
image

XeduR commented

The issue persists, but it seems to be an issue with the browser. After a recent update, Firefox seems to now include the aforementioned invisible characters when copying from the browser. When using Chrome, for instance, the issue does not occur.