File: Verbatim.py

package info (click to toggle)
moin 1.9.8-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 75,060 kB
  • ctags: 43,795
  • sloc: python: 118,348; java: 10,704; php: 2,374; perl: 1,572; xml: 371; makefile: 213; sh: 79; sed: 5
file content (12 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: iso-8859-1 -*-
"""
    Outputs the text verbatimly.

    @copyright: 2005 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details
"""

Dependencies = []

def macro_Verbatim(macro, text=u''):
    return macro.formatter.escapedText(text)