Changes between Initial Version and Version 1 of Ticket #11119
- Timestamp:
- May 26, 2013, 6:42:03 AM (11 years ago)
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 forthe `UserStats` macro.1 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. 2 2 3 3 The macro call `[[UserQuery(email, name, visit)]]` results in the list `[u'email', u' name', u' visit']`. The output of the macro is then,