diff options
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2022-11-07 16:34:15 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-11-07 16:34:15 +0000 |
commit | 41abd7141734af7b464f24a52d0405e0a0ebe63c (patch) | |
tree | 1a110fa9fa982e746b1969458c5b9d373c70a38c /tests/extensions/toc_invalid.txt | |
parent | 86e6f15004a071ee37e6ccc32b346f94740246b7 (diff) | |
parent | 15d05f2d077b75842cf15c25540b80869d16ff59 (diff) | |
download | markdown-41abd7141734af7b464f24a52d0405e0a0ebe63c.tar.gz |
Merge "Upgrade markdown to 3.4.1" am: 79292f57ff am: 15d05f2d07android-u-beta-1-gpl
Original change: https://android-review.googlesource.com/c/platform/external/markdown/+/2288233
Change-Id: I2616d81ff49591ed28143b0f1aa6231834b2b824
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tests/extensions/toc_invalid.txt')
-rw-r--r-- | tests/extensions/toc_invalid.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/extensions/toc_invalid.txt b/tests/extensions/toc_invalid.txt new file mode 100644 index 0000000..f6c4ec4 --- /dev/null +++ b/tests/extensions/toc_invalid.txt @@ -0,0 +1,9 @@ +[TOC] +----- + +# Header 1 + +The TOC marker cannot be inside a header. This test makes sure markdown doesn't +crash when it encounters this errant syntax. The unexpected output should +clue the author in that s/he needs to add a blank line between the TOC and +the `<hr>`. |