diff options
| author | Cosmic Process <126974221+cosmicproc@users.noreply.github.com> | 2024-02-14 18:28:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 16:28:44 +0100 |
| commit | c783e7a3a0e411811aba83158d55e4f2f3091ac7 (patch) | |
| tree | 5569f1a007689b07d6cee00718abf81b83e9dbbf /django | |
| parent | e6fa74f02068b2c112de41e9c785f31041668a64 (diff) | |
Fixed #35195 -- Removed unnecessary type="text/css" attributes from <style> tags.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/model_detail.html | 2 | ||||
| -rw-r--r-- | django/views/templates/csrf_403.html | 2 | ||||
| -rw-r--r-- | django/views/templates/technical_404.html | 2 | ||||
| -rw-r--r-- | django/views/templates/technical_500.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/model_detail.html b/django/contrib/admindocs/templates/admin_doc/model_detail.html index d4a380aa38..1cbde0e44a 100644 --- a/django/contrib/admindocs/templates/admin_doc/model_detail.html +++ b/django/contrib/admindocs/templates/admin_doc/model_detail.html @@ -3,7 +3,7 @@ {% block extrahead %} {{ block.super }} -<style type="text/css"> +<style> .module table { width:100%; } .module table p { padding: 0; margin: 0; } </style> diff --git a/django/views/templates/csrf_403.html b/django/views/templates/csrf_403.html index 402a2c6cdd..85df032b12 100644 --- a/django/views/templates/csrf_403.html +++ b/django/views/templates/csrf_403.html @@ -4,7 +4,7 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>403 Forbidden</title> - <style type="text/css"> + <style> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } diff --git a/django/views/templates/technical_404.html b/django/views/templates/technical_404.html index f2bfe49372..5c844b9279 100644 --- a/django/views/templates/technical_404.html +++ b/django/views/templates/technical_404.html @@ -4,7 +4,7 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Page not found at {{ request.path_info }}</title> <meta name="robots" content="NONE,NOARCHIVE"> - <style type="text/css"> + <style> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } diff --git a/django/views/templates/technical_500.html b/django/views/templates/technical_500.html index 305c4655ad..940beeeb85 100644 --- a/django/views/templates/technical_500.html +++ b/django/views/templates/technical_500.html @@ -5,7 +5,7 @@ <meta name="robots" content="NONE,NOARCHIVE"> <title>{% if exception_type %}{{ exception_type }}{% else %}Report{% endif %} {% if request %} at {{ request.path_info }}{% endif %}</title> - <style type="text/css"> + <style> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } |
