From 8e63c8f9374e5bce66e003ab6fbd34bd39727ae9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 16 Feb 2013 09:15:26 -0600 Subject: [PATCH] =?UTF-8?q?using=20google=20for=20QR=20codes,=20thanks=20?= =?UTF-8?q?=20=E9=BB=84=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- gluon/contrib/markmin/markmin2html.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 1c2cb51b..0924ac63 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.02.15.17.33.13 +Version 2.4.1-alpha.2+timestamp.2013.02.16.09.14.43 diff --git a/gluon/contrib/markmin/markmin2html.py b/gluon/contrib/markmin/markmin2html.py index cbdcec47..74bccf08 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, @@ -740,7 +740,7 @@ def render(text, '

auto-image: ()

' >>> render("qr: (qr:http://example.com/image.jpeg)") - '

qr: (qr code)

' + '

qr: (QR Code)

' >>> render("embed: (embed:http://example.com/page)") '

embed: ()

'