The noescape attribute is used to suppress escaping of the execution context value associated with the name (5.2.5.3) attribute.
>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.msg = 'Should escape < & >...' >>> albatross.Template(ctx, '<magic>', ''' ... <al-textarea name="msg" noescape whitespace/> ... ''').to_html(ctx) >>> ctx.flush_content() <textarea name="msg">Should escape < & >...</textarea>