id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 11119,Strip whitespace from macro arguments,Ryan J Ollos,,"While working on a patch t:#10751, I added a `stripws` argument to `parse_args`, to strip leading and trailing whitespace from macro arguments (see [https://github.com/rjollos/trac/commit/cd5f4cee cd5f4cee]). There hasn't been any interest expressed in the patch so far, but I encountered a situation this evening that made me think we should deal with this directly in the `UserStats` macro. The macro call `[[UserQuery(email, name, visit)]]` results in the list `[u'email', u' name', u' visit']`. The output of the macro is then, {{{ admin, user1 , user2 }}} rather than the expected, {{{ #!html
Account Name Email Last Login
admin
user1 User One user1@gmail.com 16 hours ago
user2 User Two user2@gmail.com
}}} ",enhancement,new,normal,AccountManagerPlugin,normal,,macro argument,osimons Jun Omae,0.11