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.cr

Instance Method Summary

Instance Method Detail

def escape_value(value : String, context : Context) : String #

Escapes the given value based on the current context.


[View source]