Add apostrophe escapeage

Not having apostrophes escaped broke one of my project's servers. Since it's just as easy to replace apostrophes, why not do it?