Skip to content
Sections
>> Trisquel >> Пакети >> aramo >> python >> python3-html-sanitizer
aramo  ]
[ Източник: python-html-sanitizer  ]

Пакет: python3-html-sanitizer (1.9.3-1)

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.

Други пакети, свързани с python3-html-sanitizer

  • зависимости
  • препоръчани
  • предложени
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-bs4
    error-tolerant HTML parser for Python 3
  • dep: python3-lxml (>= 4.6.5)
    pythonic binding for the libxml2 and libxslt libraries

Изтегляне на python3-html-sanitizer

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 14,3 кБ67 кБ [списък на файловете]