Mercurial > hg
diff setup.py @ 16360:e5788269741a
templates/filters: extracting the user portion of an email address
Currently, the 'user' filter is using util.shortuser(text) (which clearly
doesn't extract only the user portion of an email address, even though the
help text says it does).
The new 'emailuser' filter uses the new util.emailuser(text) function which,
instead, does exactly that.
The help text on the 'user' filter has been modified accordingly.
author | Matteo Capobianco <m.capobianco@gmail.com> |
---|---|
date | Wed, 28 Mar 2012 16:06:20 +0200 |
parents | 5536770b3c88 |
children | f5dd179bfa4a |