Cannot determine image width/height for external images, results in NaN #4372
Labels
bug
plugin/html5
Issue related to HTML5 plug-in
preprocess
priority/medium
Medium (or unknown) priority issue
Expected Behavior
Given an external image with a scale set:
I should get the following HTML output:
Actual Behavior
Both the height and width are set to "NaN":
Steps to Reproduce
See code examples above.
Copy of the error message, log file or stack trace
I noticed in the
dita
output with--verbose
that there don't appear any log messages about fetching image metadata when I set an external image:But if I change the
src
attribute for one image tag<image>
to a local image, I do get log messages about fetching image metadata:So it appears that the image metadata fetching code is not executed when it should be.
Environment
dita
commandThe text was updated successfully, but these errors were encountered: