diff tests/test-minirst.py @ 31145:6582b3716ae0

minirst: detect bullet lists using asterisks Previously, the "bullet" regular expression excluded the asterisk ('*') as a character denoting a bulleted list. Why I'm not sure because the asterisk seems to be the canonical bullet character in reST these days. This patch makes asterisk-prefixed lines parse as bulleted lists.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 15 Feb 2017 16:42:17 -0800
parents 8717d4609ab3
children 87b8fc4533ca
line wrap: on
line diff
--- a/tests/test-minirst.py	Wed Mar 01 20:22:04 2017 +0100
+++ b/tests/test-minirst.py	Wed Feb 15 16:42:17 2017 -0800
@@ -118,6 +118,13 @@
 | This is the first line.
   The line continues here.
 | This is the second line.
+
+Bullet lists are also detected:
+
+* This is the first bullet
+* This is the second bullet
+  It has 2 lines
+* This is the third bullet
 """
 
 debugformats('lists', lists)