Comments (3)
@messense This user spammed hundreds of repositories with identical issues. I closed them on my projects, citing that I donβt want to change my process and promise to commit to making releases going forward. Up to you of course.
from nh3.
https://github.com/messense/nh3/releases/tag/v0.2.15
from nh3.
Just checked my automation and I can confirm that new version notification has been successfully processed π
New version builds and passes test suite correctly with one small warning
===================================================================================== warnings summary ======================================================================================
tests/test_nh3.py::test_clean_with_attribute_filter
/usr/lib/python3.8/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: ('img', 'src', 'foo')
Traceback (most recent call last):
File "/home/builder/rpmbuild/BUILD/nh3-0.2.15/tests/test_nh3.py", line 71, in test_clean_with_attribute_filter
nh3.clean(html, attribute_filter=lambda _element, _attribute, _value: True)
TypeError: expected attribute_filter to return str or None
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================================================== 4 passed, 1 warning in 0.07s ================================================================================
Nevertheless tank you very much π
I really appreciated for what you've doneπ
from nh3.
Related Issues (17)
- Feature goals compared to Bleach (/ full ammonia API)? HOT 18
- Feature: allow generic attribute prefixes, e.g. data-*
- Pylint false positive: no name in module HOT 1
- Couldn't find a setup script in /tmp/easy_install HOT 1
- [Question] How allow tg://user?=id tag in href a tag?
- How disable to remove unsupported tags? HOT 1
- clean_content_tags doesn't seem to work on tags other than <script> or <style> HOT 1
- Using default values in .clean() method produces unexpected output HOT 1
- Alias for clean_text function: escape? HOT 1
- Allow frozenset in attributes parameter of clean function HOT 4
- nh3 clean doesn't include html, head or body tags even when included in ALLOWED_TAGS HOT 1
- PanicException if allowed attribute is missing HOT 2
- Access to the default URL schemes HOT 1
- Encoding issues with method clean() HOT 1
- An API for providing allowed tags and attributes? HOT 1
- Would it be possible to disable adding of rel="noopener noreferrer"? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nh3.