Escape user created strings to avoid an error