pandoc-2.15: test/command/4845.md
```
% pandoc -f html -t native
x<a href="/foo"> leading trailing space </a>x
^D
[ Plain
[ Str "x"
, Space
, Link
( "" , [] , [] )
[ Str "leading"
, Space
, Str "trailing"
, Space
, Str "space"
]
( "/foo" , "" )
, Space
, Str "x"
]
]
```