-
Notifications
You must be signed in to change notification settings - Fork 12
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
replaceImage fails in certain cases #163
Comments
Thanks for the detailed bug report! The example files made it really simple to address the issue in 510635e . I have released version |
Thanks for the very quick reaction and the fix. Thanks again! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Apparently there are different ways an image is embedded in a docx file. To my knowledge the user can not influence the way the image is embedded.
"Did not find image to replace. The location of target image must precede the replaceImage() function call location."
To Reproduce
Run attached data.json against good.docx / noGood.docx
Expected behavior
stencil to support both image emedding methods
Documents
Not applicable, since rendering fails
Environment where template is rendered:
Stencil version: 0.5.8
Java version: 11
Operating System version: Linux
Additional context
I am refactoring some existing templates to work with stencil. So there might be some "garbage" in the docx files :)
Thanks for your awesome work on stencil
The text was updated successfully, but these errors were encountered: