Exemplo n.º 1
0
def get_html(body, markup_type):
    if markup_type == 'textile':
        from external.libs import textile
        return textile.textile(body)
    return body
Exemplo n.º 2
0
Arquivo: blog.py Projeto: mloar/bloog
def get_html(body, markup_type):
    if markup_type == 'textile':
        from external.libs import textile
        return textile.textile(body)
    return body
Exemplo n.º 3
0
 def repl(tmatch):
     if tmatch:
         return textile.textile(tmatch.group(1))