Fixed search terms not highlight
What does this MR do?
Fixes the search terms not correctly being highlighted. Instead of the HTML being added, plain was being added.
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #31997 (closed)