This commit is contained in:
rolux 2014-02-14 13:06:37 +05:30
parent 02f00bd909
commit e5a738a886

View file

@ -326,8 +326,9 @@ pandora.ui.textHTML = function(text) {
value = $element.attr('data-value');
footnote = value ? parseInt(value) : footnote + 1;
});
// FIXME: remove footnotes, don't link to keywords inside footnotes
// keywords
$text.find('[data-type="keywords"]').each(function(index, element) {
$text.find('[data-type="keyword"]').each(function(index, element) {
var $element = $(element),
value = $element.attr('data-value') || element.html();
keywords.append(value);