Encode HTML entities before search