diff options
Diffstat (limited to 'support/make4ht/domfilters/make4ht-odtimagesize.lua')
-rw-r--r-- | support/make4ht/domfilters/make4ht-odtimagesize.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/make4ht/domfilters/make4ht-odtimagesize.lua b/support/make4ht/domfilters/make4ht-odtimagesize.lua index 4ce8f0d92e..2b87372fdb 100644 --- a/support/make4ht/domfilters/make4ht-odtimagesize.lua +++ b/support/make4ht/domfilters/make4ht-odtimagesize.lua @@ -1,3 +1,4 @@ +local log = logging.new "odtimagesize" -- set correct dimensions to frames around images return function(dom) local frames = dom:query_selector("draw|frame") @@ -9,7 +10,7 @@ return function(dom) local height = image:get_attribute("svg:height") if widht then frame:set_attribute("svg:width", width) end if height then frame:set_attribute("svg:height", height) end - print("image dimensions", width, height) + log:debug("image dimensions", width, height) end end return dom |