From bf038db31c1b910e6a71ffa17c679a810ba2bd6f Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Wed, 4 Oct 2023 09:53:33 -0400 Subject: [PATCH] Add test showing trailing whitespace is captured in the switches. --- .../lesser_element/lesser_block/example/line_numbers.org | 2 +- .../lesser_block/example/switches_with_trailing_whitespace.org | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 org_mode_samples/lesser_element/lesser_block/example/switches_with_trailing_whitespace.org diff --git a/org_mode_samples/lesser_element/lesser_block/example/line_numbers.org b/org_mode_samples/lesser_element/lesser_block/example/line_numbers.org index 44bf44c..f7a9390 100644 --- a/org_mode_samples/lesser_element/lesser_block/example/line_numbers.org +++ b/org_mode_samples/lesser_element/lesser_block/example/line_numbers.org @@ -3,5 +3,5 @@ foo #+end_example #+begin_example +n 10 -foo +bar #+end_example diff --git a/org_mode_samples/lesser_element/lesser_block/example/switches_with_trailing_whitespace.org b/org_mode_samples/lesser_element/lesser_block/example/switches_with_trailing_whitespace.org new file mode 100644 index 0000000..771dbea --- /dev/null +++ b/org_mode_samples/lesser_element/lesser_block/example/switches_with_trailing_whitespace.org @@ -0,0 +1,3 @@ +#+begin_example +n 10 +foo +#+end_example