diff options
Diffstat (limited to 'lib/rss/utils.rb')
-rw-r--r-- | lib/rss/utils.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rss/utils.rb b/lib/rss/utils.rb index 32940cf2a8..cd0f9da739 100644 --- a/lib/rss/utils.rb +++ b/lib/rss/utils.rb @@ -9,10 +9,10 @@ module RSS [file, line] end - def html_escape(s) - s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<") - end - alias h html_escape + def html_escape(s) + s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<") + end + alias h html_escape end |