Yes, apostrophes mess with the coding here - and this is a glitch, since nothing should be able to do it. Not even "functional characters". (On occasion, non-escaped fields like that can result in someone finding a way to abuse it, amongst other things.)