diff options
Diffstat (limited to 'test/paragraphs_test.rb')
| -rw-r--r-- | test/paragraphs_test.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/paragraphs_test.rb b/test/paragraphs_test.rb index 8f47ed01..f0c0df86 100644 --- a/test/paragraphs_test.rb +++ b/test/paragraphs_test.rb @@ -83,6 +83,18 @@ Nothing special. assert_css 'p', output, 1 end + test 'removes indentation from literal paragraph marked as normal' do + input = <<-EOS +[normal] + Normal paragraph. + Nothing special. + EOS + + output = render_embedded_string input + assert_css 'p', output, 1 + assert_xpath %(//p[text()="Normal paragraph.\nNothing special."]), output, 1 + end + test 'normal paragraph terminates at block attribute list' do input = <<-EOS normal text |
