mercurial/templatefuncs.py
branchstable
changeset 38185 3277940a935f
parent 38040 a3b4ccbec269
child 38239 ead71b15efd5
--- a/mercurial/templatefuncs.py	Wed Jun 06 21:15:26 2018 +0800
+++ b/mercurial/templatefuncs.py	Wed Jun 06 21:19:42 2018 +0800
@@ -553,7 +553,7 @@
     text = evalstring(context, mapping, args[0])
     style = evalstring(context, mapping, args[1])
 
-    return minirst.format(text, style=style, keep=['verbose'])
+    return minirst.format(text, style=style, keep=['verbose'])[0]
 
 @templatefunc('separate(sep, args...)', argspec='sep *args')
 def separate(context, mapping, args):