Changes between Initial Version and Version 1 of Ticket #11119


Ignore:
Timestamp:
May 26, 2013, 6:42:03 AM (11 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11119 – Description

    initial v1  
    1 While working on a patch t:#10751, I added a `stripws` argument to `parse_args`, to strip leading and trailing whitespace from non-keyed 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 for the `UserStats` macro.
     1While 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.
    22
    33The macro call `[[UserQuery(email, name, visit)]]` results in the list `[u'email', u' name', u' visit']`. The output of the macro is then,