diff options
Diffstat (limited to 'mod/tex/context/third')
-rw-r--r-- | mod/tex/context/third/rst/rst_directives.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua index c5f0b68..5d8463e 100644 --- a/mod/tex/context/third/rst/rst_directives.lua +++ b/mod/tex/context/third/rst/rst_directives.lua @@ -308,8 +308,10 @@ rst_directives.container = function(data) for i=2, #data do tmp[#tmp+1] = data[i] end + -- content |> concat |> match |> escape content = tableconcat(tmp, " ") content = lpegmatch(inline_parser, content) + content = rst_context.escape(content) return stringformat([[ \ifcsname %s\endcsname%% \csname %s\endcsname%% |