Texinfo writer: fix escaping in links.

Previously we dropped periods, commas, etc. This was a regression
from 2024. All we really need to do is escape the comma.

Closes #11758.
This commit is contained in:
John MacFarlane
2026-07-11 10:57:33 +02:00
parent ce1327e0b8
commit 780e605c95
3 changed files with 19 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
```
% pandoc -t texinfo
[a.b](url)
[a,b](url)
^D
@node Top
@top Top
@uref{url,a.b}
@uref{url,a@comma{}b}
```
+1 -1
View File
@@ -948,7 +948,7 @@ In a list?
It should.
@end itemize
An e-mail address: @uref{mailto:nobody@@nowhere.net,nobody@@nowherenet}
An e-mail address: @uref{mailto:nobody@@nowhere.net,nobody@@nowhere.net}
@quotation
Blockquoted: @url{http://example.com/}