Replace curly quotes with entities