From 30c0d64d2ca12992ee3fd3e83aa19146020fe64e Mon Sep 17 00:00:00 2001 From: Sebastian Boehm Date: Wed, 8 Dec 2010 01:56:59 +0100 Subject: [PATCH] Add test case for issue #46 --- test/dots_at_line_start_test.roff | 15 +++++++++++++++ test/dots_at_line_start_test.ronn | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/test/dots_at_line_start_test.roff b/test/dots_at_line_start_test.roff index 41dc4a4..5f16e03 100644 --- a/test/dots_at_line_start_test.roff +++ b/test/dots_at_line_start_test.roff @@ -8,3 +8,18 @@ There\'s a weird issue where dots at the beginning of a line generate troff warn . .P \&\.\. let\'s see what happens\. +. +.IP "" 4 +. +.nf + +\&\. This dot is escaped correctly\. + +a test +b test +\&\. This one is not\. +. +.fi +. +.IP "" 0 + diff --git a/test/dots_at_line_start_test.ronn b/test/dots_at_line_start_test.ronn index 4dafed2..8f2a302 100644 --- a/test/dots_at_line_start_test.ronn +++ b/test/dots_at_line_start_test.ronn @@ -2,3 +2,9 @@ There's a weird issue where dots at the beginning of a line generate troff warnings due to escaping. .. let's see what happens. + + . This dot is escaped correctly. + + a test + b test + . This one is not.