This was a real pain to trace back. I thought I turned on magic_quotes somehow by accident. Honestly, I think this should be removed. Escape strings in the db abstract but leave the raw data alone.
Anyway, for those of you who are frustrated with this too, here is an easy workaround:
https://www.lampwrights.com/showthread.php?t=106