module Temple::Utils
def escape_html_safe(html)
- Api: - public
Returns:
-
(String)
- The escaped string
Parameters:
-
html
(String
) -- The string to escape
def escape_html_safe(html) html.html_safe? ? html : escape_html(html) end