>>> import albatross >>> text = ''' ... ... ... Simple Content Management - <al-usearg name="title"> ... ... ...

Simple Content Management -

...
... ... ... ...
... ''' >>> ctx = albatross.SimpleContext('.') >>> templ = albatross.Template(ctx, '', text) >>> templ.to_html(ctx) >>> text = ''' ... hello ... ... ''' >>> expand = albatross.Template(ctx, '', text) >>> ctx.push_content_trap() >>> expand.to_html(ctx) >>> result = ctx.pop_content_trap() >>> print result Simple Content Management - hello

Simple Content Management - hello