From 6bb7455ca2a18f647ae05452b8e2f099f4c31ef9 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 23 Sep 2010 01:20:44 +0200 Subject: small but important fix pertaining to consecutive inline markup --- rst_context.lua | 5 +++-- 1 file 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") -- cgit v1.2.3