Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/utils_tests/test_html.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #23269 -- Removed the removetags template tag and ↵Tim Graham2015-09-241-31/+1
| | | | related functions per deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-2/+8
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-3/+3
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24469 -- Refined escaping of Django's form ↵Moritz Sichert2015-03-281-4/+67
| | | | elements in non-Django templates.
* Fixed an infinite loop possibility in strip_tags().Tim Graham2015-03-191-0/+3
| | | | This is a security fix; disclosure to follow shortly.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-10/+7
|
* Removed redundant numbered parameters from str.format().Berker Peksag2014-12-031-1/+1
| | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
* Fixed urlize after smart_urlquote rewriteClaude Paroz2014-09-091-0/+1
| | | | Refs #22267.
* Fixed #22267 -- Fixed unquote/quote in smart_urlquoteClaude Paroz2014-09-091-1/+5
| | | | | Thanks Md. Enzam Hossain for the report and initial patch, and Tim Graham for the review.
* Fixed #23269 -- Deprecated django.utils.remove_tags() ↵Tim Graham2014-08-151-3/+10
| | | | | | and removetags filter. Also the unused, undocumented django.utils.html.strip_entities() function.
* Tweaked strip_tags tests to pass on Python 3.3Claude Paroz2014-03-221-2/+8
|
* Improved strip_tags and clarified documentationClaude Paroz2014-03-221-0/+2
| | | | | | The fact that strip_tags cannot guarantee to really strip all non-safe HTML content was not clear enough. Also see: https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
* Removed fix_ampersands template filter per deprecation ↵Tim Graham2014-03-211-41/+0
| | | | | | | | timeline. Also removed related utility functions: * django.utils.html.fix_ampersands * django.utils.html.clean_html
* Fixed #21188 -- Introduced subclasses for ↵Claude Paroz2014-03-081-2/+3
| | | | | | | to-be-removed-in-django-XX warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
* Fixed #22130 -- Deprecated fix_ampersands, removed ↵Erik Romijn2014-03-011-21/+28
| | | | utils.clean_html()
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #7261 -- support for __html__ for library ↵Unai Zalakain2013-10-151-1/+7
| | | | | | | | | | interoperability The idea is that if an object implements __html__ which returns a string this is used as HTML representation (eg: on escaping). If the object is a str or unicode subclass and returns itself the object is a safe string type. This is an updated patch based on jbalogh and ivank patches.
* Simplified smart_urlquote and added some basic tests.Florian Apolloner2013-07-281-0/+11
|
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Fixed #19237 (again) - Made strip_tags consistent ↵Claude Paroz2013-05-231-0/+3
| | | | between Python versions
* Fixed #19237 -- Used HTML parser to strip tagsClaude Paroz2013-05-221-2/+6
| | | | | | The regex method used until now for the strip_tags utility is fast, but subject to flaws and security issues. Consensus and good practice lead use to use a slower but safer method.
* Modified utils_tests for unittest2 discovery.Preston Timmons2013-04-121-0/+176