module Blueprint::HTML::EscapeOnce

Extended Modules

Defined in:

blueprint/html/escape_once.cr

Constant Summary

HTML_ESCAPE = {"&": "&amp;", ">": "&gt;", "<": "&lt;", "\"": "&quot;", "'": "&#39;"}
HTML_ESCAPE_ONCE_REGEXP = /["><']|&(?!([a-zA-Z]+|(#\d+)|(#[xX][\dA-Fa-f]+));)/

Instance Method Summary

Instance Method Detail

def escape(value) : String #

[View source]