We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b4f8b5 commit fdf0782Copy full SHA for fdf0782
Modern Development/Service Portal Widgets/Emoji Replacer Widget/Client Script.cs renamed to Modern Development/Service Portal Widgets/Emoji Replacer Widget/Client Script.js
@@ -1,4 +1,4 @@
1
-api.controller=function($scope,$sce) {
+api.controller=function($scope) {
2
/* widget controller */
3
var c = this;
4
@@ -20,6 +20,6 @@
20
var regex = new RegExp(key.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1"),'g');
21
text = text.replace(regex,c.emojiMap[key]);
22
}
23
- c.outputText= $sce.trustAsHtml(text);
+ c.outputText= text;
24
25
};
0 commit comments