summaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/tex/context/third/rst/rst_directives.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua
index 085d167..f18e7cf 100644
--- a/mod/tex/context/third/rst/rst_directives.lua
+++ b/mod/tex/context/third/rst/rst_directives.lua
@@ -305,7 +305,7 @@ rst_directives.container = function(data)
local inline_parser = rst_context.inline_parser
local name, content = stringstrip(data[1]), ""
if name == "" then
- name = "\\framed"
+ name = "framed"
end
local tmp = { }
for i=2, #data do
@@ -318,11 +318,11 @@ rst_directives.container = function(data)
return stringformat([[
\ifcsname %s\endcsname%%
\csname %s\endcsname%%
+ {%s}%%
\else
- \relax
+ {%s}%%
\fi
-{%s}%%
-]], name, name, content)
+]], name, name, content, content)
end
-- vim:ft=lua:sw=4:ts=4:expandtab