This is driving me absolutely, !&&%&$ insane... it defies everything that I can think of.
THIS character right here... "?"
In between these quotes... open google chrome and inspect. You will see its a
... normal right? Now right click and actually view the source of this stack overflow page. It's a regular space... (also, the character I copied was an actual space).
I could understand if it's some kind of rich text editor or something, but in the raw html source is a regular space, so what gives?
Here's just with hitting the space key (which works fine)... " "
.
You can even copy it and paste it everywhere and wreak havoc and make chrome put
everywhere. Even though whats copied in your clipboard is just a SPACE.
I have these stupid characters show up everywhere randomly in my website and I have no idea where they come from, or WHY is google converting a SPACE into a nbsp;
I have tried inspecting the actual character code and it's a regular space from all things I can find...
Every single method I try shows it as a NORMAL space... so what gives?
If i use ruby and do " ".ord
I get 32
. If i do it with the broken space I also get 32
.
Please help me im losing my mind.
edit: you can prove this... view source on this page and you will see two empty " "
like normal. Now look in console and only the one will be a
, yet the raw source is identical.
Image for people not using chrome (this is looking at this very post via chrome dev tools):
Here's the HTML of the same text you see when you view source... no nbsp to be found.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…