How to disable automatic ‘Smart Quotes’ for specific HTML elements.

By default WordPress will run the wptexturize() function on your post’s content, as output with the_content(). This converts common plain text characters into stylised entities, most notably changing straight single and double quotes into their curly equivalents. becomes: Disable for a specific element WordPress does not texturise the content of pre, code, kbd, style, script […]