I'd been using he.js to handle XML character entity references, like this from [WP2533](http://wikipathways.org/index.php/Pathway:WP2533):
```
1-alkyl-2-acyl-sn-glycero-3-phosphoethanolamine&#xA;(Plasmanylethanolamine)
```

Do you propose doing something else?