diff options
Diffstat (limited to 'mod/tex')
-rw-r--r-- | mod/tex/context/third/rst/rst_directives.lua | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua index f18e7cf..f143c56 100644 --- a/mod/tex/context/third/rst/rst_directives.lua +++ b/mod/tex/context/third/rst/rst_directives.lua @@ -316,13 +316,9 @@ rst_directives.container = function(data) content = lpegmatch(inline_parser, content) content = rst_context.escape(content) return stringformat([[ -\ifcsname %s\endcsname%% - \csname %s\endcsname%% - {%s}%% -\else - {%s}%% -\fi -]], name, name, content, content) +\start[%s]%% +%s\stop +]], name, content) end -- vim:ft=lua:sw=4:ts=4:expandtab |