summaryrefslogtreecommitdiff
path: root/www/py-bleach
AgeCommit message (Collapse)AuthorFilesLines
2014-01-19Update to 1.4:wiz3-13/+13
Version 1.4 ----------- - Update linkify to use etree type Treeewalker instead of simpletree. - Updated html5lib to version >= 0.999. - Update all code to be compatible with Python 3 and 2 using six. - Switch to Apache License. Version 1.3 ----------- - Used by Python 3-only fork. Version 1.2.2 ------------- - Pin html5lib to version 0.95 for now due to major API break. Version 1.2.1 ------------- - clean() no longer considers "feed:" an acceptable protocol due to inconsistencies in browser behavior. Version 1.2 ----------- - linkify() has changed considerably. Many keyword arguments have been replaced with a single callbacks list. Please see the documentation for more information. - Bleach will no longer consider unacceptable protocols when linkifying. - linkify() now takes a tokenizer argument that allows it to skip sanitization. - delinkify() is gone. - Removed exception handling from _render. clean() and linkify() may now throw. - linkify() correctly ignores case for protocols and domain names. - linkify() correctly handles markup within an <a> tag.
2013-01-12Bump PKGREVISION.ryoon2-2/+7
* Add missing dependencies. Thank you, joerg@.
2013-01-03Import py27-bleach-1.1.5 as www/py-bleach.ryoon4-0/+64
Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. Bleach can also linkify text safely, applying filters that Django's ``urlize`` filter cannot, and optionally setting ``rel`` attributes, even on links already in the text.