ninnypants / search-everything-wordpress-plugin

Better WordPress search in three steps Activate Configure options Search ( maybe that's only two steps ) Options include search highlight, searching pages, excerpts, attachments, drafts, comments and custom fields (metadata).
http://wordpress.org/extend/plugins/search-everything/
6 stars 1 forks source link

highlight span is being added to the inside of href title="" so breaks the a href='s #4

Open Frumph opened 9 years ago

Frumph commented 9 years ago

^ title says it ;/

Example section where it's adding the filter, notice the <a href=> surrounding the <img> and it's adding the span inside the title="" `

monster-snap/" rel="bookmark" title="Pocket Monster Snap">exc-529aa688e4b03b0c04b612ee

Yeah, some Pokemon are pretty cute… but others… man… they are total creepers.

`
ninnypants commented 9 years ago

I actually don't work on Search Everything that much anymore, but this was a known issue back when I did. The problem is that the php doesn't look to see if the search term is in an html tag before applying the span. That whole section of code probably needs to be rewritten.

I would open an issue here https://github.com/Zemanta/search-everything-wp-plugin