summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rst_context.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/rst_context.lua b/rst_context.lua
index 9e69374..288df02 100644
--- a/rst_context.lua
+++ b/rst_context.lua
@@ -285,7 +285,7 @@ local inline_parser = P{
inline_element = V"precede_inline"
* Cs(V"inline_do_elements")
- * V"succede_inline"
+ * #V"succede_inline"
+ V"footnote_reference"
,
@@ -322,7 +322,8 @@ local inline_parser = P{
+ P"’" + P"”" + P"»"
+ V"inline_delimiter"
+ -P(1)
- + P"“", -- non-standard again but who cares
+ + P"“" -- non-standard again but who cares
+ ,
enclosed = V"precede_inline"^-1
* Cg(V"quote_single" + V"quote_double" + V"leftpar", "lastgroup")