From 2736ab6dbfa95c4a6d99837b715ecccb23c84215 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 31 Aug 2022 21:33:29 +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 a30c011..10d5334 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.img_element, that value + will now be preferred to the alt text of the image element. + # 1.4.19 * Ignore w:u elements when w:val is missing. -- cgit v1.2.3