adam3smith/translators — pull request #4 by aurimasv (2012-12-14 23:43:27+00:00)
Title: Tweaks to HTML escaping

Could you test this code? It uses a bit more sophisticated HTML escaping, which allows nesting and is easier to expand.

I've been testing it using the following title `Concussion & Liability Costs May Rise, and Not Just for N.F.L. or NBA`

Right now I'm getting `Concussion \& \textit{ Liability } Costs May \textsc{Rise}, and Not Just for {N}.{F}.{L}. or {NBA}`, which looks correct.