aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-05-14 11:58:58 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2021-05-14 12:13:40 +0200
commit875f8f36545d1c21fa3d29c52c40517a667f2574 (patch)
treef20c0f9f7277da55e5ed459fd777d4e86ff9c08c /test/command
parent3f09f53459b877f53072efbf57dec21fa37280b5 (diff)
downloadpandoc-875f8f36545d1c21fa3d29c52c40517a667f2574.tar.gz
HTML reader: don't fail on unmatched closing "script" tag.
Prevent the reader from crashing if the HTML input contains an unmatched closing `</script>` tag. Fixes: #7282
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7282.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/7282.md b/test/command/7282.md
new file mode 100644
index 000000000..4ed6b5b3e
--- /dev/null
+++ b/test/command/7282.md
@@ -0,0 +1,7 @@
+Don't crash on unmatched closing tag.
+```
+% pandoc -f html -t native
+</script>
+^D
+[]
+```