Create a class and apply class to span tag, instead of inline css.

Also, the code looks cleaner if you nest single-quotes inside of double-quotes:

```
    return value + " <span class='entity-display-char'>" + value + ";</span>";
```