New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression when image is in a Shape Format
#9633
Labels
Comments
@StephanMeijer since you made PR #9223, maybe you have a sense for why it affected this and what would be needed to restore original behavior in this case? |
@jgm Yes, I do. Let me type out a case soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explain the problem.
Since
pandoc 3.1.10
, when a image is inside a Shape Format, the text is extracted but the image is not.Source file: image-issue.docx
pandoc 3.1.9
, the file produce:pandoc 3.1.10
, the file produce:The PR which changes that is: #9223 and issue is #9214.
I detected the bug while trying to upgrade from
pandoc 3.1.8
topandoc 3.1.12.3
. As my tests failed, I've installed intermediary version and been able to find that the issue occurres when passing frompandoc 3.1.9
topandoc 3.1.10
.In Word, as the user, I can change the content to avoid having shape format around images but I think the image should be kept anyway
Proposed solution: Keep the image along with the text from the Shape Format
Example (the goal is to have the content kept, even if it's not well formatted):
Pandoc version?
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue.)
The text was updated successfully, but these errors were encountered: