From e557af2355251b967e26c2357c184e698157ce4d Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 16 Dec 2014 16:35:39 +0000 Subject: [PATCH] in annotations panel edit menu, strip tags from annotation value --- source/UI/js/Video/AnnotationPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Video/AnnotationPanel.js b/source/UI/js/Video/AnnotationPanel.js index a6b10f5a..57c2d7ac 100644 --- a/source/UI/js/Video/AnnotationPanel.js +++ b/source/UI/js/Video/AnnotationPanel.js @@ -232,7 +232,7 @@ Ox.AnnotationPanel = function(options, self) { isString = type != 'text'; // fixme: absence of annotation[type] may be an error isDefined = isEventOrPlace && !!annotation[type] && !!annotation[type].type; - annotationTitle = folder.options('item') + ': "' + value + '"'; + annotationTitle = folder.options('item') + ': "' + Ox.stripTags(value) + '"'; } } hasManualCalendarOrMap = self.options.layers.some(function(layer) {