>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.url = 'http://www.com/img?a=1&b=2' >>> albatross.Template(ctx, '', ''' ... ... ''').to_html(ctx) >>> ctx.flush_content()