diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-12-11 00:49:54 -0800 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-12-11 09:49:54 +0100 |
commit | e703b93a656b78b9b444bb3a9980e305ed002a70 (patch) | |
tree | a97f9a7da09ddf36b2f4886b4b5680f1144faf0e /tests/staticfiles_tests | |
parent | d8e233352877c37c469687287e7761e05bdae94e (diff) | |
download | django-e703b93a656b78b9b444bb3a9980e305ed002a70.tar.gz |
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
Diffstat (limited to 'tests/staticfiles_tests')
-rw-r--r-- | tests/staticfiles_tests/test_forms.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/staticfiles_tests/test_forms.py b/tests/staticfiles_tests/test_forms.py index 0178bab931..1fbcbe164c 100644 --- a/tests/staticfiles_tests/test_forms.py +++ b/tests/staticfiles_tests/test_forms.py @@ -31,8 +31,8 @@ class StaticFilesFormsMediaTestCase(SimpleTestCase): str(m), """<link href="https://example.com/assets/path/to/css1" type="text/css" media="all" rel="stylesheet"> <link href="/path/to/css2" type="text/css" media="all" rel="stylesheet"> -<script type="text/javascript" src="/path/to/js1"></script> -<script type="text/javascript" src="http://media.other.com/path/to/js2"></script> -<script type="text/javascript" src="https://secure.other.com/path/to/js3"></script> -<script type="text/javascript" src="https://example.com/assets/relative/path/to/js4"></script>""" +<script src="/path/to/js1"></script> +<script src="http://media.other.com/path/to/js2"></script> +<script src="https://secure.other.com/path/to/js3"></script> +<script src="https://example.com/assets/relative/path/to/js4"></script>""" ) |