From 957c0e110dd54cf7adaca6c9d7eb0b01c8b0210c Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 20 Jan 2018 11:08:08 -0800
Subject: RST reader: fix parsing of headers with trailing space.

This was a regression in pandoc 2.0.

Closes #4280.
---
 test/command/4280.md | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 test/command/4280.md

(limited to 'test')

diff --git a/test/command/4280.md b/test/command/4280.md
new file mode 100644
index 000000000..6a89b5e63
--- /dev/null
+++ b/test/command/4280.md
@@ -0,0 +1,7 @@
+```
+% pandoc -f rst -t native
+Driver 
+------
+^D
+[Header 1 ("driver",[],[]) [Str "Driver"]]
+```
-- 
cgit v1.2.3