17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » Silverstripe search functionality produces non valid xhtml code
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 552 Views |
-
Silverstripe search functionality produces non valid xhtml code

12 February 2010 at 3:37am
Hello,
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?
Thank you,
Roelfsche -
Re: Silverstripe search functionality produces non valid xhtml code

18 March 2010 at 9:07am
Add patch http://open.silverstripe.org/changeset/100904 to your source, that should fix this issue. See ticket http://open.silverstripe.org/ticket/5101
| 552 Views | ||
|
Page:
1
|
Go to Top |

