From 62ccce26f2b44ecd5df06670d0e935d7d57d7d4d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 31 Aug 2022 21:20:01 +0100 Subject: Only use the alt text of image elements as a fallback --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9f6fe81..b9c9d40 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +# 1.5.0 + +* Only use the alt text of image elements as a fallback. If an alt attribute is + returned from the function passed to mammoth.images.imgElement, that value + will now be preferred to the alt text of the image element. + # 1.4.21 * Ignore w:u elements when w:val is missing. -- cgit v1.2.3