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.

CommentFileSizeAuthor
nd_search.patch521 bytesjax

Comments

swentel’s picture

Hrm, that's weird since there is no place else where I encode that title. Will have to test myself first.

swentel’s picture

Status: Needs review » Closed (won't fix)

I'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.

jax’s picture

You 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.