Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2747 by Dirty markup in /dashboard.

Running 1.6.12, on OS X 10.7.4 and Chrome 22.

Steps to repro:
1. Go to "/dashboard/"
2. Edit your columns and check "My comments"  if that's not active already.
3. Inspect the markup of on of the icon

Expected: clean markup
Actual: there are some nasty <django.utils.functional.__proxy__ object at 0x1a31c50> in the title and alt attributes (see attached screenshot)

Probable cause: string interpolation in django
py 2.6.7 >>> print u'%s' % _("foo")
py 2.6.7 >>> print '%s' % _("foo")
<django.utils.functional.__proxy__ object at 0x1a31c50>

From the Django doc (
# This is fine: putting a unicode proxy into a unicode string.
u"Hello %s" % ugettext_lazy("people")

# This will not work, since you cannot insert a unicode object
# into a bytestring (nor can you insert our unicode proxy there)
"Hello %s" % ugettext_lazy("people")


        bad-markup-in-RB.png  20.7 KB

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to