lib/has_meta.rb in has_meta-0.0.5 vs lib/has_meta.rb in has_meta-0.0.6

- old
+ new

@@ -26,10 +26,10 @@ str = str.to_s.strip str.gsub!('&nbsp;', ' ') str.gsub!(/<.*?>/, '') if meth.to_s == 'keywords' - str = str.gsub(/[\s,]+/, ','). + str = str.gsub(/[\s,]{2,}/, ','). gsub(/\s+/, ' '). gsub(/^,|,$/, ''). strip end