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