module function WEBrick::HTMLUtils.#escape
escape(string) -> String-
指定された文字列に含まれる ", &, <, > を文字実体参照に変換した文字列を 生成して返します。
- [PARAM] string:
- エスケープしたい文字列を指定します。
p WEBrick::HTMLUtils.escape('/?q=foo&hl=<ja>') #=> "/?q=foo&hl=<ja>"
module WEBrick::HTMLUtils