moved the ttab_out in markmin2html before @{...}, I think this is the right thing
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.0.7 (2012-09-05 16:59:15) stable
|
Version 2.0.7 (2012-09-06 08:15:24) stable
|
||||||
|
|||||||
@@ -1302,6 +1302,7 @@ def render(text,
|
|||||||
return '<pre><code%s%s>%s</code></pre>%s' % (cls, id, escape(code[1:-1]), pp)
|
return '<pre><code%s%s>%s</code></pre>%s' % (cls, id, escape(code[1:-1]), pp)
|
||||||
return '<code%s%s>%s</code>' % (cls, id, escape(code[beg:end]))
|
return '<code%s%s>%s</code>' % (cls, id, escape(code[beg:end]))
|
||||||
text = regex_expand_meta.sub(expand_meta, text)
|
text = regex_expand_meta.sub(expand_meta, text)
|
||||||
|
text = text.translate(ttab_out)
|
||||||
|
|
||||||
if environment:
|
if environment:
|
||||||
def u2(match, environment=environment):
|
def u2(match, environment=environment):
|
||||||
@@ -1314,8 +1315,6 @@ def render(text,
|
|||||||
return str(f)
|
return str(f)
|
||||||
text = regex_env.sub(u2, text)
|
text = regex_env.sub(u2, text)
|
||||||
|
|
||||||
text = text.translate(ttab_out)
|
|
||||||
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def markmin2html(text, extra={}, allowed={}, sep='p',
|
def markmin2html(text, extra={}, allowed={}, sep='p',
|
||||||
|
|||||||
Reference in New Issue
Block a user