From 8c00ee24ba9fd11945e2ebce4e85ab7cbf0eb508 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 24 Jul 2023 14:33:04 -0400 Subject: [PATCH] Add a test to prove that subscript/superscript cannot start without a leading character even though its at the start of the file. --- org_mode_samples/subscript_and_superscript/simple.org | 2 +- org_mode_samples/subscript_and_superscript/start_of_file.org | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 org_mode_samples/subscript_and_superscript/start_of_file.org diff --git a/org_mode_samples/subscript_and_superscript/simple.org b/org_mode_samples/subscript_and_superscript/simple.org index ffc382e..74cc815 100644 --- a/org_mode_samples/subscript_and_superscript/simple.org +++ b/org_mode_samples/subscript_and_superscript/simple.org @@ -1,6 +1,6 @@ foo^* bar_* -baz^{} +baz^{hello *world*} lorem_{} ipsum^+,\.a5 dolar_,\.a5 diff --git a/org_mode_samples/subscript_and_superscript/start_of_file.org b/org_mode_samples/subscript_and_superscript/start_of_file.org new file mode 100644 index 0000000..962b996 --- /dev/null +++ b/org_mode_samples/subscript_and_superscript/start_of_file.org @@ -0,0 +1 @@ +_{foo}