Closed (won't fix)
Project:
Node displays contributions
Version:
6.x-2.x-dev
Component:
ND Search
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2011 at 14:43 UTC
Updated:
3 Oct 2011 at 11:47 UTC
When the title field comes back from solr it is already escaped. This is passed to node_view() which then invokes the nodeapi hooks. Normally the title field isn't escaped when nodeapi is called which means if the title is passed for example to theme_nd_title_h2_link() it's escaped again.
My particular case happens when using apachesolr_search_search_page(). This should be tested in other setups.
| Comment | File | Size | Author |
|---|---|---|---|
| nd_search.patch | 521 bytes | jax |
Comments
Comment #1
swentel commentedHrm, that's weird since there is no place else where I encode that title. Will have to test myself first.
Comment #2
swentel commentedI've put a notice on the project page for this patch. Haven't been able to reproduce this at this point easily, so I'm still a bit afraid to commit this.
Comment #3
jax commentedYou shouldn't commit it because the issue probably comes from somewhere else. I need to see what this does on a fresh installation which should be pretty easy to do.