Page 1 of 1

[Bug] Code tag's CSS style hides spaces on line wrap

Posted: Sat Apr 20, 2024 3:53 pm
by vadcx
Take this page as an example: https://wiki.factorio.com/index.php?tit ... did=196250

The string inside code tags is literally with spaces in it:

Code: Select all

title =Category related title
Currently what happens if I resize the window or view it on phone, it hides the background of space characters making them invisible, as if they weren't there:

Code: Select all

title⏎
=Category related title
Expected for the background to always highlight the presence of SPACE (yes a little exaggerated to make a point):

Code: Select all

title  ⏎
=Category related title
I will attach screenshots too.
line-wrap-bug.png
line-wrap-bug.png (47.9 KiB) Viewed 187 times