Skip to content

Commit

Permalink
Import/export: don't put html in manage_tabs_message.
Browse files Browse the repository at this point in the history
This gets html quoted, so you see the plain html in the output.
  • Loading branch information
mauritsvanrees committed Feb 4, 2017
1 parent cdd506e commit f56856f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OFS/ObjectManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def manage_exportObject(self, id='', download=None,
if REQUEST is not None:
return self.manage_main(self, REQUEST,
manage_tabs_message=
'<em>%s</em> successfully exported to <em>%s</em>' % (id,f),
'"%s" successfully exported to "%s"' % (id,f),
title = 'Object exported')


Expand All @@ -627,7 +627,7 @@ def manage_importObject(self, file, REQUEST=None, set_owner=1):
if REQUEST is not None:
return self.manage_main(
self, REQUEST,
manage_tabs_message='<em>%s</em> successfully imported' % id,
manage_tabs_message='"%s" successfully imported' % id,
title='Object imported',
update_menu=1)

Expand Down

0 comments on commit f56856f

Please sign in to comment.