Skip to content

Commit

Permalink
feature(strip_tags): removing open comment tags
Browse files Browse the repository at this point in the history
connected to BPC-6442
closes BPc-6652
  • Loading branch information
evseevleo committed Aug 10, 2015
1 parent 94b855d commit 274f820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/string_tools/core_ext/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def #{method}(*args)
# возвращает строку из которой удалены HTML-теги
# символы <>&" остаются без изменения
def strip_tags
ActionController::Base.helpers.strip_tags(self).to_str
ActionController::Base.helpers.strip_tags(self).to_str.gsub(/<!--/, '<--')
end

# '11,3'.to_f
Expand Down

0 comments on commit 274f820

Please sign in to comment.