summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-23 01:20:44 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-23 01:20:44 +0200
commit6bb7455ca2a18f647ae05452b8e2f099f4c31ef9 (patch)
tree85cc3187014661b5b04e71e685042005609a5a57
parent678cfc0650d01258fc594d995480e41623efc496 (diff)
downloadcontext-rst-6bb7455ca2a18f647ae05452b8e2f099f4c31ef9.tar.gz
small but important fix pertaining to consecutive inline markup
-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")