Skip to content

Commit 90bcfa8

Browse files
committed
Release 0.4.0
1 parent 3b644e9 commit 90bcfa8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Diff for: CHANGES.rst

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ lxml_html_clean changelog
66
Unreleased
77
==========
88

9+
0.4.0 (2024-11-12)
10+
==================
11+
12+
Bugs fixed
13+
----------
14+
15+
* The ``Cleaner()`` now scans for hidden JavaScript code embedded
16+
within CSS comments. In certain contexts, such as within ``<svg>`` or ``<math>`` tags,
17+
``<style>`` tags may lose their intended function, allowing comments
18+
like ``/* foo */`` to potentially be executed by the browser.
19+
920
0.3.1 (2024-10-09)
1021
==================
1122

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = lxml_html_clean
3-
version = 0.3.1
3+
version = 0.4.0
44
description = HTML cleaner from lxml project
55
long_description = file:README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)