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

View file

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