Don't escape ampersands in escapes

Without this patch, ' is replaced with &apos; which is then further replaced with &amp;apos;