From 530a60e0e659e224640fb80cf439c5245832b7ea Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Mon, 19 Mar 2012 15:43:30 -0500 Subject: [PATCH] fixed markin doctest failure, thanks Ramiroluz --- VERSION | 2 +- gluon/contrib/markmin/markmin2html.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 97657915..e9f40641 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-03-19 15:40:54) dev +Version 1.99.7 (2012-03-19 15:43:26) dev diff --git a/gluon/contrib/markmin/markmin2html.py b/gluon/contrib/markmin/markmin2html.py index 2d614cf0..abe846a6 100755 --- a/gluon/contrib/markmin/markmin2html.py +++ b/gluon/contrib/markmin/markmin2html.py @@ -309,7 +309,7 @@ def render(text,extra={},allowed={},sep='p'): >>> render('this is\\n### a subsubsection\\nparagraph') '

this is

a subsubsection

paragraph

' >>> render('**hello world**') - '

hello world

' + '

hello world

' >>> render('``hello world``') 'hello world' >>> render('``hello world``:python') @@ -319,7 +319,7 @@ def render(text,extra={},allowed={},sep='p'): >>> render("''hello world''") '

hello world

' >>> render('** hello** **world**') - '

** hello** world

' + '

** hello** world

' >>> render('- this\\n- is\\n- a list\\n\\nand this\\n- is\\n- another') '

and this

' @@ -347,7 +347,7 @@ def render(text,extra={},allowed={},sep='p'): '

' >>> render('[[this is a **link** http://example.com]]') - '

this is a link

' + '

this is a link

' >>> render("``aaa``:custom",extra=dict(custom=lambda text: 'x'+text+'x')) 'xaaax'