Changes between Initial Version and Version 4 of Ticket #17135
- Timestamp:
- Oct 29, 2011, 4:46:35 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17135 – Description
initial v4 11 11 The problem is that the `stringfilter` decorator keeps a pointer to the underlying function, and the template engine uses it. 12 12 13 However, the last line only sets `is_safe` on the function returned by the decorator, not on the underlying function. As a consequence, the template filterdoesn't know that the filter is safe.13 However, the last line only sets `is_safe` on the function returned by the decorator, not on the underlying function. As a consequence, the template engine doesn't know that the filter is safe.