From 30d6c356823125997ee376a39be72af0374a5edd Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 8 Mar 2012 12:52:30 +0000 Subject: [PATCH] fix formatting of annotations in clip views --- static/js/pandora/clipList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/clipList.js b/static/js/pandora/clipList.js index 5e7d793e3..fc415bd2d 100644 --- a/static/js/pandora/clipList.js +++ b/static/js/pandora/clipList.js @@ -33,7 +33,7 @@ pandora.ui.clipList = function(videoRatio) { : a.value > b.value ? 1 : 0; }).map(function(annotation) { - return Ox.stripTags(annotation.value); + return Ox.stripTags(annotation.value).replace(/\n/g, ' '); }).join('; ') : ''; url = '/' + data.id.split('/')[0] + '/' + height + 'p' + data['in'] + '.jpg'; sortKey = sort[0].key;