encode more html entities

This commit is contained in:
Rolux 2016-01-08 14:07:34 +05:30
commit f173d50902
6 changed files with 14 additions and 13 deletions

View file

@ -39,15 +39,15 @@ oml.ui.browser = function() {
}).join(', ') + ')',
WebkitTransform: 'rotate(45deg)'
})
.html(
.text(
ui.iconInfo == 'extension'
? data.extension.toUpperCase()
: Ox.formatValue(data.size, 'B')
) : null,
height: height,
id: data.id,
info: info,
title: data.title,
info: Ox.encodeHTMLEntities(info),
title: Ox.encodeHTMLEntities(data.title),
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
width: width
};