- Use new
lxml_html_cleanpackage when available. You need this when you are usinglxml5.2 or later. We don't want to make this a hard dependency. When you use Plone 6.0.11 or later, you must use this newhtmllaundryversion. Fine for older Plone versions as well.
- Use @implementer and @adapter class decorators for Python3 compatibility [ale-rt]
- Do not remove empty
<a>tags that could be used as anchors. - When removing empty tags, allow to define additional tags that are considered OK to be empty
- When wrapping unwrapped text do not create separate wrappers for inline elements.
- Use PEP8 naming for all functions. The old names for public methods will continue to work for backwards compatibility.
- Add support for Python 3.
- Add option to sanitize to specify a different wrap element or skip wrapping completely.
- Add MANIFEST.in to faciliate releases not made from subversion.
- Fix all cleaners to strip javascript. This fixes issue 1.
- Remove link target enforcement from hardcoded code path from
sanitize. This makes it possible to use the newlink_targetcleaner option.
- Make forcing of target attributes on externals linke configurable via a
new
link_targetoption in the cleaners. Only enable this option for theCommentCleaner.
- Correct whitespace test for wrapping bare text as well.
- Correct whitespace checks to handle all unicode whitespace. This fixes problems with xA0 (or in HTML-speak) being treated as text.
- Small code cleanup.
- Strip leading breaks.
- Strip all top level br elements. Breaks are fine in blocklevel elements, but should not be used to add vertical spacing between block elements.
- Fix a typo in the documentation.
- Strip trailing breaks.
- Add a simple StripMarkup method.
- Add ZCML necessary for z3c.form integration.
- First release