Skip to content

Commit

Permalink
Revert "pkp/pkp-lib#9277 Escape submission HTML on opening Informatio…
Browse files Browse the repository at this point in the history
…n Center"

This reverts commit bab8db7.
  • Loading branch information
asmecher committed Sep 7, 2023
1 parent bab8db7 commit 5264913
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/ListPanel/submissions/SubmissionsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -741,20 +741,11 @@ export default {
* Load a modal displaying history and notes of a submission
*/
openInfoCenter() {
var map = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#039;'
};
var opts = {
title: this.localizeSubmission(
this.currentPublication.fullTitle,
this.currentPublication.locale
).replace(/[&<>"']/g, function(m) {
return map[m];
}),
),
url: this.infoUrl.replace('__id__', this.item.id),
closeCallback: this.resetFocusInfoCenter
};
Expand Down

0 comments on commit 5264913

Please sign in to comment.