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

@ -43,19 +43,17 @@ oml.ui.info = function() {
.css({
fontWeight: 'bold'
})
.html(data.title || '')
.text(data.title || '')
.appendTo(that);
$('<div>')
.css({
fontWeight: 'bold'
})
.html((data.author || []).join(', '))
.text((data.author || []).join(', '))
.appendTo(that);
$('<div>')
.css({marginTop: '8px'})
.html(
Ox.encodeHTMLEntities(result.data.description || '')
)
.text(result.data.description || '')
.appendTo(that);
$('<div>')
.css({height: '16px'})