module Minidown::Utils
Constants
- Regexp
Public Class Methods
escape_html(str)
click to toggle source
# File lib/minidown/utils.rb, line 20 def escape_html str sanitized_str = str.dup sanitized_str.gsub! "<".freeze, "<".freeze sanitized_str.gsub! ">".freeze, ">".freeze sanitized_str end