Patch to correct the apostrophe bug in xf:input