You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curious that it escapes commas as ,? my local pandoc 2.17.1.1 does not do this, so I'm not sure if this is just a try pandoc bug or an actual pandoc bug, but it doesn't work, so fix it before continuing:
That's almost entirely where we started! I think the summary here is roughly:
the writer produces fragments rather than full documents by default, while the reader can't deal with fragments properly
(it doesn't know what an xlink:href is without xmlns telling it first, presumably)
the reader can't read image titles that the writer produces
the reader can read alt text but the writer can't produce it
the asciidoc writer gained a bug somewhere between 2.17.1.1 and 2.19.2 related to that comma?
I gather that feature parity between a format's reader and writer isn't necessarily a given, but one would hope that basic inputs containing only some links and inline images wouldn't be too lossy right out of the gate - and that's not really the story here :<
Pandoc version?
https://pandoc.org/try/ pandoc version 2.19.2 because nixpkgs doesn't seem to care about keeping it up to date
The text was updated successfully, but these errors were encountered:
...with entities when they're in Str elements. If a link
contains an image, it may have attributes, and the commas
there should not be converted.
See #8437, #8070.
Explain the problem.
Using some example input:
... we get:
(we already lost the "alt" text btw 😞)
if we feed this back into pandoc, we end up with a lot less than we started with:
So the reader has lost:
#
)An alternate universe
Let's see what happens if we enlist the help of the asciidoc writer instead:
curious that it escapes commas as
,
? my local pandoc 2.17.1.1 does not do this, so I'm not sure if this is just a try pandoc bug or an actual pandoc bug, but it doesn't work, so fix it before continuing:now we get new and exciting output:
Which pandoc obviously likes a lot better:
That's almost entirely where we started! I think the summary here is roughly:
(it doesn't know what an
xlink:href
is withoutxmlns
telling it first, presumably)xlink
? .-.I gather that feature parity between a format's reader and writer isn't necessarily a given, but one would hope that basic inputs containing only some links and inline images wouldn't be too lossy right out of the gate - and that's not really the story here :<
Pandoc version?
https://pandoc.org/try/ pandoc version 2.19.2 because nixpkgs doesn't seem to care about keeping it up to date
The text was updated successfully, but these errors were encountered: