File: control

package info (click to toggle)
python-html-sanitizer 1.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 152 kB
  • sloc: python: 803; sh: 24; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Source: python-html-sanitizer
Section: python
Priority: optional
Maintainer: Jonas Smedegaard <dr@jones.dk>
Build-Depends:
 debhelper-compat (= 12),
 dh-sequence-python3,
 python3,
 python3-bs4 <!nocheck>,
 python3-lxml <!nocheck>,
 python3-setuptools,
Standards-Version: 4.5.0
Homepage: https://github.com/matthiask/html-sanitizer
Vcs-Git: https://salsa.debian.org/debian/python-html-sanitizer.git
Vcs-Browser: https://salsa.debian.org/debian/python-html-sanitizer
Rules-Requires-Root: no
Testsuite: autopkgtest-pkg-python

Package: python3-html-sanitizer
Architecture: all
Depends:
 ${misc:Depends},
 ${python3:Depends},
Suggests:
 python3-django,
Enhances:
 python3-django,
Description: HTML sanitizer with more HTML fragment transforms
 This is an allowlist-based and very opinionated HTML sanitizer
 that can be used both for untrusted and trusted sources.
 It attempts to clean up the mess
 made by various rich text editors and or copy-pasting
 to make styling of webpages simpler and more consistent.
 It builds on the excellent HTML cleaner in lxml
 to make the result both valid and safe.
 .
 HTML sanitizer goes further than e.g. bleach
 in that it not only ensures that content is safe
 and tags and attributes conform to a given allowlist,
 but also applies additional transforms to HTML fragments.