I got a problem with the search functionality.
I set up silverstripe to output xhtml code. Everything works fine until the search functionality is used. The user inserted for example a '&' via the backend (tinymce-editor) in the site content, wich ist correctly translated to & into the database.
If I now start the search, all browsers stop outputting the search because the & is outputted as '&' which violates the xhtml standard.
Is there a function, that transforms the output to valid xhtml in sapphire?