mercurial/templater.py
branchstable
changeset 19079 1e433b5457fd
parent 19058 d8d548d868d3
child 19125 6ba6e345961e
equal deleted inserted replaced
19078:5506e97e8298 19079:1e433b5457fd
   297         raise error.ParseError(_("rstdoc expects two arguments"))
   297         raise error.ParseError(_("rstdoc expects two arguments"))
   298 
   298 
   299     text = stringify(args[0][0](context, mapping, args[0][1]))
   299     text = stringify(args[0][0](context, mapping, args[0][1]))
   300     style = stringify(args[1][0](context, mapping, args[1][1]))
   300     style = stringify(args[1][0](context, mapping, args[1][1]))
   301 
   301 
   302     return minirst.format(text, style=style)
   302     return minirst.format(text, style=style, keep=['verbose'])
   303 
   303 
   304 methods = {
   304 methods = {
   305     "string": lambda e, c: (runstring, e[1]),
   305     "string": lambda e, c: (runstring, e[1]),
   306     "symbol": lambda e, c: (runsymbol, e[1]),
   306     "symbol": lambda e, c: (runsymbol, e[1]),
   307     "group": lambda e, c: compileexp(e[1], c),
   307     "group": lambda e, c: compileexp(e[1], c),