Error %s
' % str(err).replace('<', '<')
- msg += '
Failed to construct math expression from
%s
' % html.replace('<', '<')
+ msg += ('
Failed to construct math expression from
%s
' %
+ html.replace('<', '<'))
msg += "
"
log.error(msg)
return etree.XML(msg)
else:
raise
- # xhtml.tail = element.tail # don't forget to include the tail!
+ # xhtml.tail = element.tail # don't forget to include the tail!
return xhtml
#-----------------------------------------------------------------------------
@@ -520,11 +591,13 @@ def solution(element, value, status, render_template, msg=''):
@register_render_function
def imageinput(element, value, status, render_template, msg=''):
'''
- Clickable image as an input field. Element should specify the image source, height, and width, eg
-