user7367269 user7367269 - 4 years ago 78
HTML Question

My HTML has different spacing

I'm really confused about this. I have same shortcode but different spacing which causes the second shortcode to fail.

[button link="#"]btn[/button]
[buttonĀ link="#"]btn[/button]

They look identical but when runing on a compare tool, there's a difference in space before link.

Please see here:

How is that possible? Any idea? Thanks.

Answer Source

You can check what character it is at What Unicode Characters it is

You would have realized that the first one is: U+0020 : SPACE [SP]

While second is: U+00A0 : NO-BREAK SPACE [NBSP]

Just because they look same doesn't necessary mean they are same character.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download