“Smart Quotes are the bane of my existence”
This is mainly because they typically turn into broken characters the second they are added to a database (depending on the encoding). Here’s a quick (frontend) fix to find/replace on paste using jQuery:
“Smart Quotes are the bane of my existence”
This is mainly because they typically turn into broken characters the second they are added to a database (depending on the encoding). Here’s a quick (frontend) fix to find/replace on paste using jQuery:
Great snippet. I had to change “.on” to “.bind” for it to work. I hope this helps someone else out there.