jbr / jQuery.highlightRegex

jQuery Plugin that lets you highlight document text with a regular expression.
http://jbr.github.io/jQuery.highlightRegex
102 stars 22 forks source link

Tweak to prevent words getting several layers of highlight elements #14

Closed nfriedly closed 10 years ago

nfriedly commented 10 years ago

I noticed that this plugin will re-wrap already-highlighted words if run a second time, so this is just a quick fix for that.

jbr commented 10 years ago

Thanks for the help!

nfriedly commented 10 years ago

My pleasure - thanks for making the plugin :)

Thanks,

Sent from mobile phone. On Apr 2, 2014 6:18 PM, "Jacob Rothstein" notifications@github.com wrote:

Thanks for the help!

Reply to this email directly or view it on GitHubhttps://github.com/jbr/jQuery.highlightRegex/pull/14#issuecomment-39391125 .