fixed makrmin again, note to self: always trust Valdyslav about markmin

This commit is contained in:
mdipierro
2012-09-06 10:54:04 -05:00
parent 30eb7f2146
commit b7f046cd21
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
Version 2.0.7 (2012-09-06 08:59:06) stable
Version 2.0.7 (2012-09-06 10:53:59) stable

View File

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