Most web developers have, at some point, experienced the pain of browsing through client-written content to change symbols into meaningful HTML entities. Of course, a lot of the time, we’re even using the wrong entities!
Well, now it’s a little easier with the help of “Punct!,” a client-side script I have created for two reasons; as an experiment in JSON and to save time when cutting and pasting code from Word documents into web sites.
Punct basically takes any content pasted or typed into it and converts characters such as em-dashes, quotes and horizontal ellipses into their relevant best HTML entities. You can also specify whether to include paragraph tags which helps anyone pasting content into Wordpress (like this very article).To have a go, click the link below: