domino: do not decode substitution variables

This commit is contained in:
Benjamin Dauvergne 2013-03-01 16:51:42 +01:00
parent 7e085977e5
commit d36dbebbdb
1 changed files with 2 additions and 2 deletions

View File

@ -124,13 +124,13 @@ class AbeliumDominoDirectory(Directory):
'activated because of this error when '
'loading it: %r') % import_error
'<p class="errornotice">%s</p>' % message
'<dl>'
'<dl style="display: none">'
context = get_publisher().substitutions.get_context_variables()
for var in sorted(context.keys()):
value = context[var]
if value:
'<dt>%s</dt>' % var
'<dd>%s</dt>' % unicode(value).encode(get_publisher().site_charset)
'<dd>%s</dt>' % value
'</dl>'
form_desc = (