Glyph numbers

Not really much of an improvement, but the project I'm working on uses the character/glyph number (since the framework directly inserts the character into the DOM), so I've added them to the preview template to save converting it every time.

If you find it useful, feel free to pull it. If not, I've done my part :)