Files
TuongNM 7571187792 LaTeX writer: Fix strikeout in links (#11192)
As in #1294 \url and \href need to be protected
inside an mbox for soul commands.

Closes #9366.
2025-10-04 19:21:18 +02:00

35 lines
695 B
Markdown

```
% pandoc -f native -t latex
[ Para
[ Strikeout
[ Link
( "" , [] , [] )
[ Str "Example" ]
( "https://example.com" , "" )
]
]
, Para
[ Strikeout
[ Link
( "" , [] , [] )
[ Str "https://example.com" ]
( "https://example.com" , "" )
]
]
, Para
[ Strikeout
[ Link
( "" , [] , [] )
[ Str "info@example.com" ]
( "mailto:info@example.com" , "" )
]
]
]
^D
\st{\mbox{\href{https://example.com}{Example}}}
\st{\mbox{\url{https://example.com}}}
\st{\mbox{\href{mailto:info@example.com}{\nolinkurl{info@example.com}}}}
```