diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-23 15:02:14 +0200 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-23 15:02:14 +0200 |
commit | 1595aa8c7af1b06bc7c5b792154339adbbaf6fc5 (patch) | |
tree | b920e7a489107212c1b96b403d31ec965b74887b | |
parent | 3f4e2bf4d3288c1d9a6463e602b978cf8b1ad776 (diff) | |
download | context-rst-1595aa8c7af1b06bc7c5b792154339adbbaf6fc5.tar.gz |
rearranged section pattern priority.
-rw-r--r-- | rst_parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 , |