#30686: Improve utils.text.Truncator &co to use a full HTML parser.
-------------------------------+------------------------------------
Reporter: Thomas Hooper | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by Jon Dufresne):
> To me, at this point, html5lib essentially looks unmaintained.
I agree with this observation. The previous main maintainer looks to have
stopped working on the project. Responses to issues and PRs have stopped.
> Is html5lib in trouble? If so, as a user, what are your plans, if any?
And from that, what do you think about Django adopting it? What's the
alternative?
For my own projects, I'll probably continue using html5lib until its
staleness creates an observable bug for me. I haven't hit that point yet.
Bleach, on the other hand, looks like maintenance has slowed, but not
stopped. I believe they have vendored html5lib to allow them to make
changes internally. FWIW, I also still use Bleach.
---
I'm not familiar with all the details of this ticket, but would the stdlib
HTML parser be sufficient?
https://docs.python.org/3/library/html.parser.html
--
Ticket URL: <https://code.djangoproject.com/ticket/30686#comment:16>
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/066.b93513dceae4c751e6d6dee3d345a209%40djangoproject.com.