From ad73020130bd8b42320f27ca3991493eab10db3b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 9 Nov 2016 15:25:20 +0100 Subject: [PATCH] fix(Utils): in `encodeUrisToQmlFormat`, use correct variables names --- tests/ui/scripts/Utils/utils.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ui/scripts/Utils/utils.js b/tests/ui/scripts/Utils/utils.js index 6c31f5be7..70928e3c6 100644 --- a/tests/ui/scripts/Utils/utils.js +++ b/tests/ui/scripts/Utils/utils.js @@ -161,14 +161,14 @@ function encodeUrisToQmlFormat (text, options) { var ext = getExtension(match) if (includes([ 'jpg', 'jpeg', 'gif', 'png', 'svg' ], ext)) { images += '' + ) + ' src="' + match + '" />' } return '' + match + '' @@ -178,7 +178,7 @@ function encodeUrisToQmlFormat (text, options) { images = '
' + images + '
' } - return images.concat(text) + return images.concat('

' + text + '

') } // -------------------------------------------------------------------