diff options
| author | TuongNM <[email protected]> | 2025-10-04 19:21:18 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-04 19:21:18 +0200 |
| commit | 75711877927f486f2335b8bdd1ad56b0448be47b (patch) | |
| tree | 8e1a312e06473a122addc1e2647831d61636729c /test/command | |
| parent | 46ff66d28b1b759df5ce9591973a89891bb63fc1 (diff) | |
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.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/9366.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/command/9366.md b/test/command/9366.md new file mode 100644 index 000000000..52d4592ae --- /dev/null +++ b/test/command/9366.md @@ -0,0 +1,34 @@ +``` +% 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 "[email protected]" ] + ( "mailto:[email protected]" , "" ) + ] + ] +] +^D +\st{\mbox{\href{https://example.com}{Example}}} + +\st{\mbox{\url{https://example.com}}} + +\st{\mbox{\href{mailto:[email protected]}{\nolinkurl{[email protected]}}}} +``` |
