moved the ttab_out in markmin2html before @{...}, I think this is the right thing

This commit is contained in:
mdipierro
2012-09-06 08:15:29 -05:00
parent 7e0fe7dc8d
commit fe67f78028
2 changed files with 2 additions and 3 deletions

View File

@@ -1 +1 @@
Version 2.0.7 (2012-09-05 16:59:15) stable
Version 2.0.7 (2012-09-06 08:15:24) stable

View File

@@ -1302,6 +1302,7 @@ def render(text,
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]))
text = regex_expand_meta.sub(expand_meta, text)
text = text.translate(ttab_out)
if environment:
def u2(match, environment=environment):
@@ -1314,8 +1315,6 @@ def render(text,
return str(f)
text = regex_env.sub(u2, text)
text = text.translate(ttab_out)
return text
def markmin2html(text, extra={}, allowed={}, sep='p',