>>> import albatross
>>> class Ctx(albatross.SimpleContext):
...     def current_url(self):
...         return 'magic'
...
>>> ctx = Ctx('.')
>>> albatross.Template(ctx, '<magic>', '''
... <al-a nextpage="m">Next Page</al-a whitespace>
... ''').to_html(ctx)
>>> ctx.flush_content()
<a href="magic?nextpage,m=1">Next Page</a>
