Opened 9 years ago

Last modified 9 years ago

#25157 closed Uncategorized

urlizetrunc changes existing link — at Initial Version

Reported by: dexity Owned by: nobody
Component: Template system Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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)

Could you fix so that it doesn't change the existing links?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top