module Erubi

Constants

CGI
ESCAPE_TABLE

:nocov:

MATCH_METHOD
RANGE_ALL
RANGE_FIRST
RANGE_LAST
TEXT_END
VERSION

Public Class Methods

h(value) click to toggle source

:nocov: Escape characters with their HTML/XML equivalents.

   # File lib/erubi.rb
29 def self.h(value)
30   CGI.escapeHTML(value.to_s)
31 end