From 1595aa8c7af1b06bc7c5b792154339adbbaf6fc5 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 23 Sep 2010 15:02:14 +0200 Subject: rearranged section pattern priority. --- rst_parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rst_parser.lua b/rst_parser.lua index 23aa042..fb0fb4a 100644 --- a/rst_parser.lua +++ b/rst_parser.lua @@ -126,6 +126,7 @@ local parser = P{ -------------------------------------------------------------------------------- block = V"explicit_markup" + + Cs(V"section") / rst.escape + V"target_block" + V"literal_block" + Cs(V"list") / rst.escape @@ -133,7 +134,6 @@ local parser = P{ + Cs(V"table_block") / rst.escape + V"transition" --/ rst.escape + V"comment_block" - + Cs(V"section") / rst.escape + Cs(V"block_quote") / rst.escape + Cs(V"paragraph") / rst.escape , -- cgit v1.2.3