Commit 102bbb4c authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/scripts/Utils/utils): unscape html url in `encodeTextToQmlRichFormat`

parent 97ddced3
......@@ -61,7 +61,7 @@ function encodeTextToQmlRichFormat (text, options) {
) + ' src="' + str + '" /></a>'
}
return '<a href="' + uri + '">' + str + '</a>'
return '<a href="' + uri + '">' + unscapeHtml(str) + '</a>'
}).join('')
if (images.length > 0) {
images = '<div>' + images + '</div>'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment