diff options
author | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2013-03-12 19:01:53 +0100 |
---|---|---|
committer | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2013-03-12 19:01:53 +0100 |
commit | fdd863ed29e617f3fadaa906b2a5dfb02ea07c27 (patch) | |
tree | 1c7dc92b27af5faf76b32c3d7fef5076c08749b4 /mod/tex/context/third | |
parent | 8026fb824e8c6505d61f2099642fa4d671198769 (diff) | |
download | context-rst-fdd863ed29e617f3fadaa906b2a5dfb02ea07c27.tar.gz |
escape processed inline elements
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%% |