From 937b92cd304a6a404f750c7f9a894adfb3638d01 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 22 Aug 2018 12:16:57 +0300 Subject: HTML reader: extract spaces inside links instead of trimming them Fixes #4845 --- test/command/4845.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/command/4845.md (limited to 'test') diff --git a/test/command/4845.md b/test/command/4845.md new file mode 100644 index 000000000..093161ac7 --- /dev/null +++ b/test/command/4845.md @@ -0,0 +1,6 @@ +``` +% pandoc -f html -t native +x leading trailing space x +^D +[Plain [Str "x",Space,Link ("",[],[]) [Str "leading",Space,Str "trailing",Space,Str "space"] ("/foo",""),Space,Str "x"]] +``` -- cgit v1.2.3