Message4100
In templating.py the StringHTMLProperty has an hyperlinked() method that
linkifies URLs, emails and items, but there's no way to linkify only
URLs or only emails or any other intermediate combination.
The attached patch:
1) breaks the content of _hyper_repl and changes it to call 3 different
methods (for URLs, emails, and items).
2) adds a register_propclass function that allow to register other classes.
In this way is possible to subclass StringHTMLProperty, override any of
the 3 methods, and use the new subclass instead of StringHTMLProperty. |
|
Date |
User |
Action |
Args |
2010-07-23 16:35:09 | ezio.melotti | set | recipients:
+ ezio.melotti |
2010-07-23 16:35:09 | ezio.melotti | set | messageid: <1279902909.63.0.573654327649.issue2550659@psf.upfronthosting.co.za> |
2010-07-23 16:35:09 | ezio.melotti | link | issue2550659 messages |
2010-07-23 16:35:08 | ezio.melotti | create | |
|