Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: new_pool
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.207 kb
# All files in the 'lib' directory will be loaded
# before nanoc starts compiling.
def html_escape(str)
str.gsub('&', '&amp;').str('<', '&lt;').str('>', '&gt;').str('"', '&quot;')
end
alias h html_escape
Jump to Line
Something went wrong with that request. Please try again.