view MoinMoin/macro/BR.py @ 3085:fdb68a8f92da

fix wrong pagename when creating new pages on Mac OS X (ported from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 00:28:53 +0100
parents d9c2701a0a5d
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)