Skip to content

Commit

Permalink
Builder|Fixed: Non-ASCII characters in author name
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 19, 2013
1 parent 02d912f commit 7fb1369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distrib/builder/changes.py
Expand Up @@ -247,7 +247,7 @@ def generate(self, format):
print >> out, '<li>'
print >> out, '<a href="%s">%s</a>: ' % (entry.link, entry.date[:10])
print >> out, '<b>%s</b>' % entry.subject
print >> out, 'by <i>%s</i>%s' % (entry.author, others)
print >> out, 'by <i>%s</i>%s' % (encodedText(entry.author), others)
print >> out, '<blockquote style="color:#666;">%s</blockquote>' % entry.message(encodeHtml=True)

print >> out, '</ul>'
Expand All @@ -260,7 +260,7 @@ def generate(self, format):
for entry in self.entries:
print >> out, '<commit>'
print >> out, '<submitDate>%s</submitDate>' % entry.date
print >> out, '<author>%s</author>' % entry.author
print >> out, '<author>%s</author>' % encodedText(entry.author)
print >> out, '<repositoryUrl>%s</repositoryUrl>' % entry.link
print >> out, '<sha1>%s</sha1>' % entry.hash
if entry.tags or entry.guessedTags:
Expand Down

0 comments on commit 7fb1369

Please sign in to comment.