#25157: urlizetrunc changes existing link
---------------------------------+--------------------
     Reporter:  dexity           |      Owner:  nobody
         Type:  Uncategorized    |     Status:  new
    Component:  Template system  |    Version:  1.8
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 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?

--
Ticket URL: <https://code.djangoproject.com/ticket/25157>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.69471313cd9ae748080b714063512d00%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to