fixes #102: Problems with some characters in tags
This commit is contained in:
@@ -118,7 +118,7 @@ class Tag < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def scan_tags(tags)
|
def scan_tags(tags)
|
||||||
normalize(tags).gsub(/[,;*]/, "_").scan(/\S+/).uniq
|
normalize(tags).gsub(/[%,]/, "").scan(/\S+/).uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_cast(object, type)
|
def parse_cast(object, type)
|
||||||
|
|||||||
Reference in New Issue
Block a user