summaryrefslogtreecommitdiff
path: root/src/lxml/html/clean.py
Commit message (Expand)AuthorAgeFilesLines
* Work around Py2's lack of "re.ASCII".lxml-4.6.2Stefan Behnel2020-11-261-2/+4
* Prevent combinations of <math/svg> and <style> to sneak JavaScript through th...Stefan Behnel2020-11-261-8/+14
* Prevent combinations of <noscript> and <style> to sneak JavaScript through th...Stefan Behnel2020-10-181-0/+3
* Remove dead code.Stefan Behnel2020-08-031-1/+0
* Cleaner: Catch bad arg combo in constructor (GH-301)Mike Lissner2020-06-201-0/+6
* Improve compilation of clean.py (e.g. dict iteration) by switching to languag...Stefan Behnel2020-06-191-1/+1
* Avoid calling hasattr when we need the attribute anyway, and validate the arg...Stefan Behnel2020-06-191-4/+10
* LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of...Stefan Behnel2020-06-131-4/+7
* Use a bound method instead of looking it up on each element.Stefan Behnel2020-06-131-2/+2
* Add docstrings to Cleaner.allow_element() and Cleaner.allow_embedded_url().Stefan Behnel2019-08-241-2/+15
* Actually use "language_level=2" everywhere for better Py2 compatibility.Stefan Behnel2018-12-021-1/+1
* Set explicit Cython language levels for compiled modules (Cython suggests to ...Stefan Behnel2018-12-021-0/+2
* Merge lxml-4.2 branch into master.Stefan Behnel2018-09-291-0/+2
|\
| * Fix import warnings in Py3.6+ by switching to absolute imports.Stefan Behnel2018-09-291-0/+2
* | Merge branch lxml-4.2 into master.Stefan Behnel2018-09-091-2/+3
|\ \ | |/
| * Fix: make the cleaner also remove javascript URLs that use escaping.Stefan Behnel2018-09-091-2/+3
* | Revert "Replace mutable default argument"Hugo2018-08-261-18/+6
* | Replace function call with set literalHugo2018-08-251-1/+1
* | Replace mutable default argumentHugo2018-08-251-6/+18
* | Remove redundant code for Python <= 2.6Hugo2018-08-251-5/+0
|/
* Remove unused imports.Chris Gavin2017-04-241-1/+1
* allow hyphens in mailto: hostsJakub Wilk2017-03-161-1/+1
* make the "inline_style" option in Cleaner default to (but independent of) the...Stefan Behnel2016-07-241-5/+9
* Add inline_style optionChristian Pedersen2015-11-191-1/+6
* [IMP] allow dataurls if they point to imagesHolger Brunn2015-03-041-1/+8
* fix LP#1369362: do not try to remove pseudo-attributes from processing instru...Stefan Behnel2014-12-141-2/+2
* strip control characters before looking for evil text content in CleanerStefan Behnel2014-04-171-4/+5
* remove redundant assignmentStefan Behnel2014-02-201-1/+0
* avoid writing duplicate 'nofollow' argument into HTML 'rel' attributes while ...Stefan Behnel2013-04-281-3/+8
* proper handling of 'rel' attribute for links (Bug 971754)Christine Koppelt2013-04-271-1/+4
* Merge pull request #116 from cko/doco2scoder2013-04-271-1/+4
|\
| * slightly extended documentationChristine Koppelt2013-04-271-1/+4
* | fix careful javascript exclusion in cleanerStefan Behnel2013-04-271-1/+1
* | fix for Bug #715687 (Consider host_whitelist and whitelist_tags before deleti...Christine Koppelt2013-04-271-1/+2
|/
* allow the set of attributes considered safe by Cleaner to be overriddenFrancis Devereux2012-12-051-2/+8
* remove broken linkStefan Behnel2012-09-281-2/+1
* simplify portability imports to make them more portable themselvesStefan Behnel2012-02-201-16/+7
* docsStefan Behnel2011-09-251-2/+4
* docstringWojtek2011-09-151-0/+3
* kill_tags supportWojtek2011-09-121-5/+5
* let cleaner drop 'data:' links just like it does for 'javascript:' linksStefan Behnel2011-08-121-1/+1
* fix #773715: assertion error in cleaner when dropping top-level elementStefan Behnel2011-05-191-2/+8
* safer XHTML->HTML conversion in clean.pyStefan Behnel2011-05-191-5/+2
* [svn r4477] fix 'marque' HTML tag name into 'marquee'scoder2010-10-171-2/+2
* [svn r4158] r5142@delle: sbehnel | 2009-06-06 21:49:49 +0200scoder2009-06-061-2/+1
* [svn r3992] Notice balanced parenthesis when autolinkingianb2008-10-301-2/+2
* [svn r3831] r4511@delle: sbehnel | 2008-06-19 10:46:05 +0200scoder2008-06-191-2/+6
* [svn r3763] r4379@delle: sbehnel | 2008-05-26 16:14:52 +0200scoder2008-05-261-14/+14
* [svn r3737] r4332@delle: sbehnel | 2008-05-24 09:51:31 +0200scoder2008-05-241-3/+14
* [svn r3703] r4261@delle: sbehnel | 2008-05-21 00:10:51 +0200scoder2008-05-211-1/+9