module Marten::Template::Tag::CanEscapeValues
Overview
Allows to escape values.
This concern module allows to easily escape values within tags that return possibly unsafe strings.
Direct including types
Defined in:
marten/template/tag/concerns/can_escape_values.crInstance Method Summary
-
#escape_value(value : String, context : Context) : String
Escapes the given value based on the current context.
Instance Method Detail
Escapes the given value based on the current context.