encode more html entities
This commit is contained in:
parent
fea12d9f57
commit
f173d50902
6 changed files with 14 additions and 13 deletions
|
|
@ -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'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue