ServiceNow - Widgets special escape characters in HTML
in order to avoid this type of problem with special characters in strings,
//client side:
function($scope, $sce) {
/* widget controller */
var c = this;
// Display HTML field
$scope.data.desc = $sce.trustAsHtml($scope.data.desc);
}
Comments
Post a Comment