Commit ebfee26b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove trailing '=' from base64 encode result.

parent f665b285
......@@ -46,7 +46,7 @@
format python: here.getObject().portal_preferences.getPreference(\'preferred_image_format\', \'png\');\n
description python: here.getDescription();\n
box_relative_url python: request.get(\'box_relative_url\', \'\');\n
dom_id python: modules[\'base64\'].urlsafe_b64encode(\'%s-%s\' %(box_relative_url, here.getUid()))[:-1]">\n
dom_id python: modules[\'base64\'].urlsafe_b64encode(\'%s-%s\' %(box_relative_url, here.getUid())).replace(\'=\', \'\')">\n
<div class="document-gadget-quick-preview">\n
<div class="teaser"\n
tal:attributes="onclick string:$(\'#${dom_id}\').toggle();">\n
......
1063
\ No newline at end of file
1064
\ 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