Commits

Anonymous committed 0bb4c9d

Stopped html excaping contact names in hgrc.

Comments (0)

Files changed (1)

         if self.description:
             wl(u"description = %s" %
                 self.get_html_description().replace('\n','').replace('%', '%%'))
-        wl(u"contact = %s" % escape(self.owner.get_full_name() or self.owner.username))
+        # TODO do some more sanity checks for the name.  (Mostly make sure it
+        # doesn't have any linebreaks.)
+        wl(u"contact = %s" % (self.owner.get_full_name() or self.owner.username))
 
         f.write("[hooks]\n")
         f.write("changegroup = python:freehg.repos.hooks.changegroup\n")