mercurial/templatefuncs.py
changeset 39310 a2a5d4ad5276
parent 38853 3588e41f796d
child 39367 83f8f7b9fa60
--- a/mercurial/templatefuncs.py	Sun Aug 05 12:20:43 2018 +0900
+++ b/mercurial/templatefuncs.py	Sun Aug 05 12:11:19 2018 +0900
@@ -575,7 +575,7 @@
     text = evalstring(context, mapping, args[0])
     style = evalstring(context, mapping, args[1])
 
-    return minirst.format(text, style=style, keep=['verbose'])[0]
+    return minirst.format(text, style=style, keep=['verbose'])
 
 @templatefunc('separate(sep, args...)', argspec='sep *args')
 def separate(context, mapping, args):