From 0c0a258b02de169816d5531ee54374e72ee1b924 Mon Sep 17 00:00:00 2001 From: "maria.cano" Date: Tue, 22 Nov 2022 10:21:39 +0100 Subject: [PATCH] fix: remove end tag on condition to avoid corner cases --- views/js/qtiXmlRenderer/renderers/Figure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/js/qtiXmlRenderer/renderers/Figure.js b/views/js/qtiXmlRenderer/renderers/Figure.js index aff7c2c9d4..b04b58960f 100755 --- a/views/js/qtiXmlRenderer/renderers/Figure.js +++ b/views/js/qtiXmlRenderer/renderers/Figure.js @@ -28,7 +28,7 @@ define(['tpl!taoQtiItem/qtiXmlRenderer/tpl/figure'], function (tpl) { if (!figure.attr('showFigure')) { data.tag = 'img'; - const cleanImg = data.body.split(''); + const cleanImg = data.body.split('