Properly escape single quote.