From 59ecf609a759f01feaccd0bee42f0d460b8f17ae Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Sat, 19 Mar 2022 14:22:01 +0100 Subject: [PATCH 1/5] ci: Also check generated HTML with the "vnu" validator Because HTML Tidy apparently misses a bunch of errors. --- docker/app.Dockerfile | 1 + ietf/templates/doc/document_history.html | 8 ++++---- ietf/templates/doc/revisions_list.html | 4 ++-- ietf/utils/test_utils.py | 24 ++++++++++++++++++++++-- requirements.txt | 3 ++- 5 files changed, 31 insertions(+), 9 deletions(-) diff --git a/docker/app.Dockerfile b/docker/app.Dockerfile index 277f3f5109..3ca3268988 100644 --- a/docker/app.Dockerfile +++ b/docker/app.Dockerfile @@ -26,6 +26,7 @@ RUN apt-get install -qy \ bash \ build-essential \ curl \ + default-jdk \ enscript \ fish \ gawk \ diff --git a/ietf/templates/doc/document_history.html b/ietf/templates/doc/document_history.html index c22dfe647e..b371a83cc5 100644 --- a/ietf/templates/doc/document_history.html +++ b/ietf/templates/doc/document_history.html @@ -73,25 +73,25 @@

Revision differences

name="difftype" value="--html" id="html"> - + - + - + - + diff --git a/ietf/templates/doc/revisions_list.html b/ietf/templates/doc/revisions_list.html index d343bb9e63..af895169f4 100644 --- a/ietf/templates/doc/revisions_list.html +++ b/ietf/templates/doc/revisions_list.html @@ -1,8 +1,8 @@ {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} {% origin %} - -