-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Explain the problem.
For context, see #8398
Right now when I convert an inline image from HTML to ICML I get something like this:
<Image Self="ue6" ItemTransform="1 0 0 1 -131.25 -56.25">
<Properties>
<Profile type="string">
$ID/Embedded
</Profile>
</Properties>
<Contents>
<![CDATA[...]]>
</Contents>
</Image>
Instead the <Contents>
should be a child of ` rather than a sibling. Like this:
<Image Self="ue6" ItemTransform="1 0 0 1 -131.25 -56.25">
<Properties>
<Profile type="string">
$ID/Embedded
</Profile>
<Contents>
<![CDATA[...]]>
</Contents>
</Properties>
</Image>
I was able to confirm this by running a regex replace over the Pandoc output, at which point InDesign started giving me the desired output.
Pandoc version?
3.1