mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
This commit is contained in:
parent
d8e2333528
commit
e703b93a65
24 changed files with 137 additions and 141 deletions
|
@ -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>"""
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue