* fix: Fix some HTML validation errors that came in via #4035 Also make validation errors display a bit better. * content -> color for mask-icon (caught by @jennifer-richards; thanks)
This commit is contained in:
parent
8c769521f0
commit
411b5f4747
|
@ -12,8 +12,8 @@
|
|||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon"
|
||||
href="{% static 'ietf/images/ietf-logo-nor-mask.svg' %}"
|
||||
{% if server_mode and server_mode == 'production' %}color="#ffffff"{% else %}color="#ffc4c4"{% endif %}>
|
||||
color="{% if server_mode and server_mode == 'production' %}#ffffff{% else %}#ffc4c4{% endif %}">
|
||||
<meta name="msapplication-TileColor"
|
||||
{% if server_mode and server_mode == 'production' %}content="#ffffff"{% else %}color="#ffc4c4"{% endif %}>
|
||||
content="{% if server_mode and server_mode == 'production' %}#ffffff{% else %}#ffc4c4{% endif %}">
|
||||
<meta name="theme-color"
|
||||
{% if server_mode and server_mode == 'production' %}content="#ffffff"{% else %}color="#ffc4c4"{% endif %}>
|
||||
content="{% if server_mode and server_mode == 'production' %}#ffffff{% else %}#ffc4c4{% endif %}">
|
|
@ -125,7 +125,7 @@
|
|||
|
||||
{% block morecss %}{% endblock %}
|
||||
</style>
|
||||
{% block pagehead %}{% endblock %}\
|
||||
{% block pagehead %}{% endblock %}
|
||||
{% include "base/icons.html" %}
|
||||
</head>
|
||||
<body {% block bodyAttrs %}{% endblock %}>
|
||||
|
|
|
@ -997,10 +997,9 @@ class IetfTestRunner(DiscoverRunner):
|
|||
for msg in json.loads(result)["messages"]:
|
||||
if vnu_filter_message(msg, False, True):
|
||||
continue
|
||||
errors = vnu_fmt_message(file, msg, content)
|
||||
|
||||
if errors:
|
||||
testcase.fail(errors)
|
||||
errors = vnu_fmt_message(file, msg, content.decode("utf-8"))
|
||||
if errors:
|
||||
testcase.fail(errors)
|
||||
|
||||
tmpdir.cleanup()
|
||||
|
||||
|
|
Loading…
Reference in a new issue