in annotations panel edit menu, strip tags from annotation value

This commit is contained in:
rolux 2014-12-16 16:35:39 +00:00
parent e762ec9137
commit e557af2355

View file

@ -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) {