5.2.2.8 noescape attribute
Description: noescape attribute
Keywords: albatross

###
5.2.2.8 `noescape` attribute

The `noescape` attribute can be used in conjunction with the `text`, `password`, `submit`, `reset`, `hidden`, and `button` input fields, it is ignored otherwise.

When this attribute is present the `value` (5.2.2.11) attribute will not be escaped.

    >>> import albatross
    >>> ctx = albatross.SimpleContext('.')
    >>> ctx.locals.oops = '&<>"\''
    >>> albatross.Template(ctx, '<magic>', '''
    ... <al-input type="text" name="oops" noescape whitespace>
    ... ''').to_html(ctx)
    >>> ctx.flush_content()
    <input type="text" name="oops" value="&<>"'" />