Changes between Initial Version and Version 1 of Ticket #25157


Ignore:
Timestamp:
Jul 21, 2015, 4:27:09 PM (9 years ago)
Author:
dexity
Comment:

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&lt;a href=&quot; <a href="http://google.com" rel="nofollow">google.com</a> &quot;&gt;bar&lt;/a&gt;buz'``` (https://github.com/django/django/blob/master/tests/template_tests/filter_tests/test_urlizetrunc.py)
     1urlizetrunc 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&lt;a href=&quot; <a href="http://google.com" rel="nofollow">google.com</a> &quot;&gt;bar&lt;/a&gt;buz'}}} (https://github.com/django/django/blob/master/tests/template_tests/filter_tests/test_urlizetrunc.py)
    22
    33Could you fix so that it doesn't change the existing links?
Back to Top