From 96a1ebeed1943497789edbcf4f8e6d58b1f632eb Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 3 Oct 2011 18:37:22 -0400 Subject: [PATCH] fixes #102: Problems with some characters in tags --- app/models/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/tag.rb b/app/models/tag.rb index fc590b9b2..01ceeac05 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -118,7 +118,7 @@ class Tag < ActiveRecord::Base end def scan_tags(tags) - normalize(tags).gsub(/[,;*]/, "_").scan(/\S+/).uniq + normalize(tags).gsub(/[%,]/, "").scan(/\S+/).uniq end def parse_cast(object, type)