View Single Post
Old 12-31-2013, 09:53 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,566
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All entities are replaced by their unicode character equivalents, except the five xml entities. & < > ' and " Replacing XML entites without doing a full parse can lead to invalid markup. Numeric entities are never used anywhere.

And entity replacement happens only when you type the trailing semi-colon on a correct entity. Try to do entity replacement every time you type anywhere is too much of a performance hit.
kovidgoyal is offline   Reply With Quote