From 9ffe5b3a8213450043e2a860e31f9518becb66a4 Mon Sep 17 00:00:00 2001 From: Sean Lang Date: Sat, 26 Oct 2019 19:03:22 -0500 Subject: [PATCH] add test for not breaking up blockquotes --- test/index.coffee | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/index.coffee b/test/index.coffee index 188bf14..238d049 100644 --- a/test/index.coffee +++ b/test/index.coffee @@ -225,6 +225,24 @@ describe 'blockquotes', -> > end ''') + it 'should not break up blockquotes', -> + tidyMdSnippet(''' + > Thank you for attending the \_\_\_\_\_\_ hackathon! Lets go over the rules: + > + > - rule 1 + > - rule 2 + > - rule 3 + ''').should.equal(''' + > Thank you for attending the \_\_\_\_\_\_ hackathon! Lets go over the rules: + > + > - rule 1 + > - rule 2 + > - rule 3 + ''') + + + + describe 'lists', -> it 'should normalize unordered lists', -> tidyMdSnippet('''