Commit 0a75a9e8 authored by Ivan Tyagov's avatar Ivan Tyagov

No need to encode to utf-8 explicitly, if there's a bug (i.e. non utf-8 data...

No need to encode to utf-8 explicitly, if there's a bug (i.e. non utf-8 data provided or generated we must not hide it this way).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d2ed5010
...@@ -86,7 +86,8 @@ url = context.absolute_url()\n ...@@ -86,7 +86,8 @@ url = context.absolute_url()\n
title = context.getTitle() or (hasattr(context, \'getReference\') and context.getReference()) or context.getId()\n title = context.getTitle() or (hasattr(context, \'getReference\') and context.getReference()) or context.getId()\n
portal_type = context.getTranslatedPortalType()\n portal_type = context.getTranslatedPortalType()\n
website = context.REQUEST.get(\'current_web_site\', context.getWebSiteValue())\n website = context.REQUEST.get(\'current_web_site\', context.getWebSiteValue())\n
popup = (context.Document_getPopupInfo(website) or \'\').encode(\'utf-8\')\n \n
popup = context.Document_getPopupInfo(website) or \'\'\n
\n \n
found = context.Base_showFoundText()\n found = context.Base_showFoundText()\n
owner_html = getOwnerHTML(context) or \'\'\n owner_html = getOwnerHTML(context) or \'\'\n
......
884 885
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment