From ff6f920521bf90c865e86193b6cac5420ffdd6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 9 Jan 2025 18:41:45 +0100 Subject: [PATCH] Return an empty gif as image URL without data must always have a src attribute so using an empty image is more compliant with the standards. --- sao/src/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sao/src/common.js b/sao/src/common.js index 2ce4826c00..2c365090dc 100644 --- a/sao/src/common.js +++ b/sao/src/common.js @@ -4339,7 +4339,8 @@ Sao.common.image_url = function(data) { if (!data) { - return null; + return ( + 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D'); } var type = ''; try {