lib/zemanta/enhancer.rb in zemanta_client-0.0.7 vs lib/zemanta/enhancer.rb in zemanta_client-0.0.8

- old
+ new

@@ -26,10 +26,10 @@ next if url =~ @opts[:skip] end url = strip_query_string(url) if @opts[:strip_query_string] - link = "<a href='#{url}'>#{dictionary[:word]}</a>)" + link = "<a href='#{url}'>#{dictionary[:word]}</a>" if @opts[:no_duplicates] @text.sub!(dictionary[:word], link) else @text.gsub!(dictionary[:word], link) end