We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c963d7b commit fe39b44Copy full SHA for fe39b44
app/helpers/tags_helper.rb
@@ -17,7 +17,7 @@ def tags_for_index(model)
17
elsif !query.include?(hashtag)
18
query += " #{hashtag}"
19
end
20
- out << link_to_function(tag, "crm.search_tagged('#{query}', '#{model.class.to_s.tableize}')", title: tag)
+ out << link_to_function(tag, "crm.search_tagged('#{escape_javascript(query)}', '#{model.class.to_s.tableize}')", title: tag)
21
22
23
0 commit comments