Re:Typeset.js – A typographic pre-processor for HTML
by Damin0u on Tuesday August 18, 2015 @01:57PM
(#10080906)
For PHP you can have a look at JoliTypo [1], much more up to date, tested, working for any style guide and using a real parser.
[1]: https://github.com/jolicode/jolitypo
Disclaimer: I'm the author, and I've tested them all.
This project Typeset.js is slightly different as it adds additional markup and styles. For me, converting here's to here’s was enough for me back then.
[1]: https://github.com/scoates/lexentity