diff --git a/test/command/7884.md b/test/command/7884.md
new file mode 100644
index 000000000..be410801a
--- /dev/null
+++ b/test/command/7884.md
@@ -0,0 +1,72 @@
+```
+% pandoc -f html+epub_html_exts -t native
+
+
+Chapter 1
+Here is a footnote.
+Here is a second footnote.
+
+
+
+^D
+[ Div
+ ( "chapter-1"
+ , [ "section" , "level1" ]
+ , [ ( "number" , "1" ) ]
+ )
+ [ Header
+ 1
+ ( "chapter-1" , [] , [ ( "number" , "1" ) ] )
+ [ Str "Chapter" , Space , Str "1" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote."
+ , Note
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "footnote."
+ , Note
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "test"
+ ]
+ ]
+ ]
+ ]
+]
+
+```