#29826: urlize does not handle HTML angle brackets correctly
-------------------------------------+-------------------------------------
     Reporter:  Marc Dequènes        |                    Owner:  nobody
  (Duck)                             |
         Type:  Bug                  |                   Status:  new
    Component:  Template system      |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 The note that urlize should be used in plaintext is there since Django 1.0
 (cfd5b184fba4f51a6756fecaf4ec4272f3e23bfc). `'<'` and `'>'` have
 been in `WRAPPING_PUNCTUATION` (`LEADING_PUNCTUATION` and
 `TRAILING_PUNCTUATION` before 15d10a5210378bba88c7dfa1f45a4d3528ddfc3f)
 since Django's initial public commit, but I don't think that justifies
 changing the behavior.

 I created a [https://github.com/django/django/pull/10505 PR] to remove
 unused characters in `WRAPPING_PUNCTUATION`.

 Maybe your patch has some merit for simplification even if it doesn't
 change behavior?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29826#comment:6>
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/065.29006addd918f424a933a143894f9a5a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to