From 14bd35e348154fd66d8ed63b4d44e248045d52f9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 30 Jan 2013 09:41:41 -0600 Subject: [PATCH] fixed issue 1306 rendering of width in markmin, thanks dickschrauwen --- VERSION | 2 +- gluon/contrib/markmin/markmin2html.py | 27 ++++++++++++++------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/VERSION b/VERSION index db093562..863d2fec 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.30.09.29.07 +Version 2.4.1-alpha.2+timestamp.2013.01.30.09.40.42 diff --git a/gluon/contrib/markmin/markmin2html.py b/gluon/contrib/markmin/markmin2html.py index 0f56b603..cbdcec47 100755 --- a/gluon/contrib/markmin/markmin2html.py +++ b/gluon/contrib/markmin/markmin2html.py @@ -609,7 +609,7 @@ def protolinks_simple(proto, url): #elif proto == 'embed': # NOTE: embed is a synonym to iframe now # return '%s>'%(url,class_prefix,url) elif proto == 'qr': - return 'qr code'%url + return 'qr code'%url return proto+':'+url def render(text, @@ -701,7 +701,7 @@ def render(text, '

this is an image

' >>> render('[[this is an image http://example.com left 200px]]') - '

this is an image

' + '

this is an image

' >>> render("[[Your browser doesn't support