equal
deleted
inserted
replaced
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), |