diff --git a/VERSION b/VERSION index cc336fad..64e0c070 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.7 (2012-09-05 10:47:43) stable +Version 2.0.7 (2012-09-05 16:59:15) stable diff --git a/gluon/contrib/markmin/markmin2html.py b/gluon/contrib/markmin/markmin2html.py index c74dcfea..7ec3e94f 100755 --- a/gluon/contrib/markmin/markmin2html.py +++ b/gluon/contrib/markmin/markmin2html.py @@ -544,7 +544,6 @@ regex_list=re.compile('^(?:(?:(#{1,6})|(?:(\.+|\++|\-+)(\.)?))\s+)?(.*)$') regex_bq_headline=re.compile('^(?:(\.+|\++|\-+)(\.)?\s+)?(-{3}-*)$') regex_tq=re.compile('^(-{3}-*)(?::(?P[a-zA-Z][_a-zA-Z\-\d]*)(?:\[(?P

[a-zA-Z][_a-zA-Z\-\d]*)\])?)?$') regex_proto = re.compile(r'(?/=])(?P

\w+):(?P\w+://[\w\d\-+=?%&/:.]+)', re.M) -regex_auto = re.compile(r'(?/=])(?P\w+://[^\s\'\"\]\}\)]+)',re.M) regex_auto = re.compile(r'(?/=])(?P\w+://[\w\d\-+_=?%&/:.]+)',re.M) regex_link=re.compile(r'('+LINK+r')|\[\[(?P.+?)\]\]') regex_link_level2=re.compile(r'^(?P\S.*?)?(?:\s+\[(?P.+?)\])?(?:\s+(?P\S+))?(?:\s+(?P

popup))?\s*$') @@ -1303,7 +1302,6 @@ def render(text, return '

%s
%s' % (cls, id, escape(code[1:-1]), pp) return '%s' % (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): @@ -1316,6 +1314,8 @@ 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',