#35533: urlize() makes a bit of a mess of links embedded in Markdown
------------------------------------------+------------------------
               Reporter:  Simon Willison  |          Owner:  nobody
                   Type:  Bug             |         Status:  new
              Component:  Utilities       |        Version:  5.1
               Severity:  Normal          |       Keywords:
           Triage Stage:  Unreviewed      |      Has patch:  0
    Needs documentation:  0               |    Needs tests:  0
Patch needs improvement:  0               |  Easy pickings:  0
                  UI/UX:  0               |
------------------------------------------+------------------------
 I have this input text:

 {{{
 Annotated versions of talks I have given, with extensive notes and
 additional links. Here's [how I make
 these](https://simonwillison.net/2023/Aug/6/annotated-presentations/).
 }}}

 After running through Django's urlize helper function I got this:
 {{{
 ... Here&#x27;s [how I make <a
 href="http://these](https://simonwillison.net/2023/Aug/6/annotated-
 presentations/)"
 rel="nofollow">these](https://simonwillison.net/2023/Aug/6/annotated-
 presentations/)</a>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35533>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701902c584e76-782b7473-a8fa-457f-9731-8834a7d874e1-000000%40eu-central-1.amazonses.com.

Reply via email to