Skip to content

Commit

Permalink
Merge pull request #278 from plone/petschki-htmlescaped-fc-tags
Browse files Browse the repository at this point in the history
Escape HTML when showing tags in `folder_contents` popover.
  • Loading branch information
mauritsvanrees authored Feb 12, 2024
2 parents 3fa0d14 + 65522da commit 4a31441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/278.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix escaping HTML in ``tags`` popover.
[petschki]
2 changes: 1 addition & 1 deletion plone/app/content/browser/contents/templates/tags.pt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
_.each(item.Subject, function(tag) {
if(tags.indexOf(tag) === -1){
tags.push(tag);
%><option value="<%= tag %>"><%= tag %></option>
%><option value="<%- tag %>"><%- tag %></option>
<%
}
});
Expand Down

0 comments on commit 4a31441

Please sign in to comment.