Changed the way tags are stripped from tinymce content

See stackoverflow for a reference
This commit is contained in:
Mark
2015-08-19 13:02:55 +02:00
parent ec8df1d465
commit f40e023420
+1 -1
View File
@@ -140,7 +140,7 @@ angular.module('umbraco.services').factory('archetypeLabelService', function (ar
}
var suffix = "";
var strippedText = $(value).text();
var strippedText = $("<div/>").html(value).text();
if(strippedText.length > args.contentLength) {
suffix = "…";