Skip to content

Commit

Permalink
Fix double-escaping on batch edit item titles
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Mar 10, 2015
1 parent 0a68c03 commit f33f7e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/themes/default/items/batch-edit.php
Expand Up @@ -28,7 +28,8 @@
if (!is_allowed($item, 'edit') || !is_allowed($item, 'delete')) {
$showItemFields = false;
}
$itemCheckboxes[$id] = strip_formatting(metadata($item, array('Dublin Core', 'Title')));
$itemCheckboxes[$id] = strip_formatting(metadata($item, array('Dublin Core', 'Title'),
array('no_escape' => true)));
release_object($item);
}
echo '<li>' . $this->formMultiCheckbox('items[]', null, array('checked' => 'checked'), $itemCheckboxes, '</li><li>') . '</li>'; ?>
Expand Down

0 comments on commit f33f7e0

Please sign in to comment.