What's a good method for stripping HTML from our site search? I've found that it's possible to inject HTML directly into our page like this:


The page source then looks like this:

enter image description here

1 Answer 1


I posted the same question here and got a fix. We were using {get:keywords} when we should have been using {low_search_keywords}. That tag sanitises HTML for you. Hope that helps someone...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.