view MoinMoin/macro/BR.py @ 2561:d9c2701a0a5d

'port' BR macro to new system, document it
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 25 Jul 2007 13:41:53 +0200
parents bb2e053067fb
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - BR Macro

    This very complicated macro produces a line break.

    @copyright: 2000 Juergen Hermann <jh@web.de>
    @license: GNU GPL, see COPYING for details.
"""

Dependencies = []

def macro_BR(macro):
    """
    Creates a linebreak.
    """
    return macro.formatter.linebreak(0)