Fix for mako template code showing up in share emails

This commit is contained in:
Paradox
2011-07-25 22:33:46 -07:00
committed by Neil Williams
parent f1ff146e5b
commit 0e7784a167

View File

@@ -113,7 +113,7 @@ there's also a discussion going on here:
tweet = "%s %s" % (title[0:(139-len(url))], url)
%>
${icon_button("Share", "email-icon", "mailto:?subject=${urllib.quote(_force_utf8(subject))}&body=${urllib.quote(_force_utf8(body))}")}
${icon_button("Share", "email-icon", "mailto:?subject=" + urllib.quote(_force_utf8(subject)) + "&body=" + urllib.quote(_force_utf8(body)))}
${self.save_button()}
${self.hide_button()}
${icon_button("Report","report-icon",onclick="return change_state(this, 'report', hide_thing)")}