summaryrefslogtreecommitdiff
path: root/rst_context.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rst_context.lua')
-rw-r--r--rst_context.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/rst_context.lua b/rst_context.lua
index f9eab29..b85ef2c 100644
--- a/rst_context.lua
+++ b/rst_context.lua
@@ -967,10 +967,11 @@ function rst_context.footnote (label, content)
end
function rst_context.substitution_definition (subtext, directive, data)
+ data = table.concat(data, "\n")
print(subtext,directive,data)
local rs = rst_context.substitutions
rs[subtext] = { directive = directive, data = data }
- return "\n% substitution definition block\n"
+ return ""
end
optional_setups = {}