Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-06-07 14:20:22

ilyuha
Member
Registered: 2008-02-14
Posts: 10

symbol "&" in search results

The site has a search string. When it entered “&” to the search page are given snippets of code with this symbol. I’m do not want to show html-markup in search results… How me do it?

Offline

#2 2009-06-07 15:10:21

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: symbol "&" in search results

I see what you mean: if the entire search string is "&", then the search results show HTML entities as such (e.g. "é"). True for any search term that matches an HTML entity contained in an article. Kind of weird, but then how often is this really going to be a problem?


Code is topiary

Offline

#3 2009-06-07 17:20:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: symbol "&" in search results

jsoo wrote:

Kind of weird, but then how often is this really going to be a problem?

Also when different MySQL versions have their own search limitations ;) That is prolly your smallest thing to worry about.

Offline

Board footer

Powered by FluxBB