﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9091,<b> tags in user registration notification,willg@…,hasienda,"I'm using Trac 0.11.7 packaged in Debian testing with AccountManagerPlugin from svn r10593.

When a user registers a new account, they're greeted with a notification with this text:

    You may login as user <b>USERNAME</b> now.

The <b> </b> tags come from using tag.b in the value of the formatting dict, but that's wrong since the < and > get encoded.

Also, ""login"" is a noun.  You really want to say ""log in"" here.

http://en.wikipedia.org/wiki/Login


The below takes out the tag.b and fixes login -> log in:

Index: web_ui.py
===================================================================
--- web_ui.py	(revision 10593)
+++ web_ui.py	(working copy)
@@ -460,8 +460,8 @@
             else:
                 chrome.add_notice(req, Markup(tag.span(tag(_(
                      """"""Registration has been finished successfully.
-                     You may login as user %(user)s now."""""",
-                     user=tag.b(req.args.get('username')))))))
+                     You may log in as user %(user)s now."""""",
+                     user=req.args.get('username'))))))
                 req.redirect(req.href.login())
         data['reset_password_enabled'] = AccountModule(self.env
                                                       ).reset_password_enabled
",defect,closed,normal,AccountManagerPlugin,normal,fixed,HTML escape i18n,,0.11
