Change ampersands to character entity reference.