module Slack::Messenger::Util::Escape

Constants

HTML_REGEXP
HTML_REPLACE

Public Class Methods

html(string) click to toggle source
# File lib/slack-messenger/util/escape.rb, line 10
def self.html string
  string.gsub(HTML_REGEXP, HTML_REPLACE)
end