{"added":null,"apiVersion":1,"behindSince":"2026-07-08","buildDepends":["devel/py-setuptools","devel/py-wheel"],"categories":["www","python"],"comment":"Easy safelist-based HTML-sanitizing tool","compare":"/compare/py312-bleach/index.json","dependentCount":null,"description":"Bleach is an allowed-list-based HTML sanitizing library that escapes or strips\nmarkup and attributes.\n\nBleach can also linkify text safely, applying filters that Django's urlize\nfilter cannot, and optionally setting rel attributes, even on links already in\nthe text.\n\nBleach is intended for sanitizing text from untrusted sources. If you find\nyourself jumping through hoops to allow your site administrators to do lots of\nthings, you're probably outside the use cases. Either trust those users, or\ndon't.\n\nBecause it relies on html5lib, Bleach is as good as modern browsers at dealing\nwith weird, quirky HTML fragments. And any of Bleach's methods will fix\nunbalanced or mis-nested tags.","flavors":[],"html":"https://daemonports.org/midnightbsd/www/py-bleach/","kind":"port","lastUpdate":null,"license":["Apache-2.0"],"maintainer":"ports@MidnightBSD.org","name":"${PYTHON_PKGNAMEPREFIX}bleach","newest":false,"newestVersion":"6.4.0","noVulnData":true,"origin":"www/py-bleach","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"www/py-bleach","path":"/www/py-bleach/","system":"FreeBSD","updated":"2026-07-08","version":"6.4.0"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"www/py-bleach","path":"/openbsd/www/py-bleach/","system":"OpenBSD","updated":"2026-10-14","version":"6.4.0"},{"maintainer":"ryoon@NetBSD.org","newest":true,"origin":"www/py-bleach","path":"/netbsd/www/py-bleach/","system":"NetBSD","version":"6.4.0"},{"behindSince":"2026-07-08","maintainer":"sunpoet@FreeBSD.org","origin":"www/py-bleach","path":"/dragonfly/www/py-bleach/","system":"DragonFly","version":"6.2.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/py-bleach","path":"","system":"HardenedBSD","version":"6.4.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/py-bleach","path":"","system":"GhostBSD","version":"6.4.0"}],"packages":null,"pkgName":"${PYTHON_PKGNAMEPREFIX}bleach-6.2.0_1","related":null,"repository":"mports","requiredBy":["devel/py-nbconvert"],"requiredByCount":1,"runDepends":["converters/py-webencodings"],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"6.2.0_1","versions":null,"vulnerabilities":null,"www":"https://bleach.readthedocs.io/en/latest/"}
