Skip to content

Commit

Permalink
Do not escape if generating Pod template
Browse files Browse the repository at this point in the history
  • Loading branch information
gbastien committed Jun 2, 2022
1 parent f003b29 commit 43ca08a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Products/PloneMeeting/browser/overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,9 @@ def _(value):
vocab_value = _(vocab_value)
nvalues.append(vocab_value)
# XXX begin changes by Products.PloneMeeting
nvalues = [html.escape(val) for val in nvalues]
# avoid escaping when generating POD templates
if not self.request.getURL().endswith('/document-generation'):
nvalues = [html.escape(val) for val in nvalues]
if IConfigElement.providedBy(self.context):
value = u'-'
if nvalues:
Expand Down

0 comments on commit 43ca08a

Please sign in to comment.