```
% 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"
    ]
]
```
