kopia lustrzana https://github.com/wagtail/wagtail
Add mention of html5lib in upgrade considerations (#12031)
rodzic
33967fc4fe
commit
79ac41a251
|
@ -142,7 +142,7 @@ Many thanks to Ben Morse and Joshua Munn for reporting this issue, and Jake Howa
|
|||
|
||||
### Maintenance
|
||||
|
||||
* Move RichText HTML whitelist parser to use the faster, built in `html.parser` (Jake Howard)
|
||||
* Move RichText HTML whitelist parser to use the faster, built in `html.parser` rather than `html5lib` (Jake Howard)
|
||||
* Remove duplicate 'path' in default_exclude_fields_in_copy (Ramchandra Shahi Thakuri)
|
||||
* Update unit tests to always use the faster, built in `html.parser` & remove `html5lib` dependency (Jake Howard)
|
||||
* Adjust Eslint rules for TypeScript files (Karthik Ayangar)
|
||||
|
@ -199,6 +199,10 @@ See [](frontend_authentication).
|
|||
|
||||
## Upgrade considerations - changes to undocumented internals
|
||||
|
||||
### Removal of `html5lib` dependency
|
||||
|
||||
Wagtail now uses `html.parser` for its rich text processing, and no longer depends on `html5lib`. If your project relies on `html5lib`, update rich text code to use Wagtail’s documented rich text APIs like [rewrite handlers](rich_text_rewrite_handlers) and [format converters](rich_text_format_converters). Or update project dependencies to include `html5lib`.
|
||||
|
||||
### Deprecation of `user_listing_buttons` template tag
|
||||
|
||||
The undocumented `user_listing_buttons` template tag has been deprecated and will be removed in a future release.
|
||||
|
|
Ładowanie…
Reference in New Issue