From cad2e7b18e510a89e159148f1141691fd1fc6715 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 2 Jan 2018 00:44:15 +0000 Subject: md_tw.py: Add TWBlockLexer.parse_hrule. * md_tw.py (TWBlockLexer.parse_hrule): New method * tests/test_md_tw.py (TestTWBlockLexer.test_parse_hrule): New test. * tests/data/blexer-hrules.md: New file. --- tests/data/blexer-hrules.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/data/blexer-hrules.md (limited to 'tests/data') diff --git a/tests/data/blexer-hrules.md b/tests/data/blexer-hrules.md new file mode 100644 index 0000000..2b2bc24 --- /dev/null +++ b/tests/data/blexer-hrules.md @@ -0,0 +1,19 @@ +* * * + +Dresden Dolls + +*** + +God Damn The Sun + +***** + +Backstabber + +- - - + +Sorry Bunch + +--------------------------------------- + +Gravity -- cgit v1.2.3