Changes between Initial Version and Version 1 of Ticket #25157
- Timestamp:
- Jul 21, 2015, 4:27:09 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25157 – Description
initial v1 1 urlizetrunc in 1.7x is used to not modify existing link. E.g. ```'foo<a href=" google.com ">bar</a>buz'``` remains unchanged. In 1.8x it changes to something like: ```'foo<a href=" <a href="http://google.com" rel="nofollow">google.com</a> ">bar</a>buz'```(https://github.com/django/django/blob/master/tests/template_tests/filter_tests/test_urlizetrunc.py)1 urlizetrunc in 1.7x is used to not modify existing link. E.g. {{{'foo<a href=" google.com ">bar</a>buz'}}} remains unchanged. In 1.8x it changes to something like: {{{'foo<a href=" <a href="http://google.com" rel="nofollow">google.com</a> ">bar</a>buz'}}} (https://github.com/django/django/blob/master/tests/template_tests/filter_tests/test_urlizetrunc.py) 2 2 3 3 Could you fix so that it doesn't change the existing links?