Make curly quotes work for inline elements mode