encode html entities in sort titles / sort names

This commit is contained in:
rlx 2016-01-09 12:22:38 +05:30
parent 4a1aa73c76
commit 48e898e7ac
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,7 @@ oml.ui.namesDialog = function() {
columns: [ columns: [
{ {
id: 'name', id: 'name',
format: Ox.encodeHTMLEntities,
operator: '+', operator: '+',
removable: false, removable: false,
title: Ox._('Name'), title: Ox._('Name'),
@ -47,6 +48,7 @@ oml.ui.namesDialog = function() {
}, },
{ {
editable: true, editable: true,
format: Ox.encodeHTMLEntities,
id: 'sortname', id: 'sortname',
operator: '+', operator: '+',
title: Ox._('Sort Name'), title: Ox._('Sort Name'),

View file

@ -44,6 +44,7 @@ oml.ui.titlesDialog = function() {
}, },
{ {
id: 'title', id: 'title',
format: Ox.encodeHTMLEntities,
operator: '+', operator: '+',
removable: false, removable: false,
title: Ox._('Title'), title: Ox._('Title'),
@ -52,6 +53,7 @@ oml.ui.titlesDialog = function() {
}, },
{ {
editable: true, editable: true,
format: Ox.encodeHTMLEntities,
id: 'sorttitle', id: 'sorttitle',
operator: '+', operator: '+',
title: Ox._('Sort Title'), title: Ox._('Sort Title'),