diff --git a/dev/Common/Html.js b/dev/Common/Html.js index d125fde0c..3841e631e 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -316,6 +316,7 @@ export const { setAttribute('data-x-src', value); result.hasExternals = true; + oElement.alt || (oElement.alt = value.replace(/^.+\/([^/]+)$/, '$1')); } else if ('data:image/' === value.slice(0, 11)) {