Ihor Radchenko <yanta...@posteo.net> writes: > 8dcc <8dcc....@gmail.com> writes: > >> When exported to Texinfo using `org-texinfo-export-to-texinfo', >> generates the following file: >> >> ... >> @uref{https://example.com, Foo} >> >> @uref{https://example.com, Foo, Bar} >> ... >> >> The comma on the text of the second URL is being interpreted by Texinfo >> as an argument separator, which in the case of `@uref', only the third >> argument is displayed, hiding the second argument and the actual URL >> when exporting the file. > > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=39264d3d41 > Thanks for reporting!
> * lisp/ox-texinfo.el (org-texinfo--sanitize-content): Sanitize commas > everywhere to make sure that we do not end up with text commas being > interpreted as argument separator in @command{arg1, arg2, ...}. This > approach will produce @comma{} even when it is not necessary, but it > is the safest approach. Could you please find a more localized solution? I would expect that this can be done in org-texinfo-link instead. Replacing every comma with @comma{} makes the resulting texinfo much harder to read. Cheers, Jonas