Remove leading/trailing whitespace when displaying subscriptions
This commit is contained in:
@@ -39,7 +39,7 @@ class TagSubscription < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def tag_query_array
|
def tag_query_array
|
||||||
tag_query.scan(/[^\r\n]+/)
|
tag_query.scan(/[^\r\n]+/).map!(&:strip)
|
||||||
end
|
end
|
||||||
|
|
||||||
def limit_tag_count
|
def limit_tag_count
|
||||||
|
|||||||
Reference in New Issue
Block a user