Padrino::Helpers::TagHelpers
Module: Padrino::Helpers::TagHelpers
Overview
Helpers related to producing html tags within templates.
Constant Summary
- ESCAPE_VALUES =
Tag values escaped to html entities.
{ "&" => "&", "<" => "<", ">" => ">", '"' => """ }.freeze
- ESCAPE_REGEXP =
Cached Regexp for escaping values to avoid rebuilding one on every escape operation.
Regexp.union(*ESCAPE_VALUES.keys).freeze
- BOOLEAN_ATTRIBUTES =
[ :autoplay, :autofocus, :formnovalidate, :checked, :disabled, :hidden, :loop, :multiple, :muted, :readonly, :required, :s