```
% pandoc -f native -t latex --wrap=none
[Link ("test2",[],[]) [Str "link",Space,Str "to",Space,Str "text",Space,Str "test1"] ("#test1","")]
^D
\protect\phantomsection\label{test2}\hyperref[test1]{link to text test1}
```
