Question

I'm using   on my page, encoding is UTF-8, no BOM. Works pretty well even in other search engine, but the excerpt, Google is showing for my page contains a visible

 

code. Is there something, I can do against it?

Was it helpful?

Solution

Apparently Google does not recognize the   entity reference; you didn’t provide a URL, but it was rather simple to confirm the observation, searching with "hairsp" (with quotes).

The way around this bug is to use the numeric character reference &#x200a or the character U+200A HAIR SPACE itself.

You might also consider using other methods for creating added spacing, such as the padding properties in CSS. They are more flexible than the fixed-width spaces.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top