From 2f4b27308d0186a74060eac0b376c78dc65d3ad9 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Fri, 15 Mar 2024 15:32:03 +1300 Subject: [PATCH 1/3] fix: Avoid breaking citation labels Fixes #685 --- xml2rfc/data/xml2rfc.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xml2rfc/data/xml2rfc.css b/xml2rfc/data/xml2rfc.css index 6196bda1..bbcd5277 100644 --- a/xml2rfc/data/xml2rfc.css +++ b/xml2rfc/data/xml2rfc.css @@ -280,6 +280,9 @@ cite { text-align: right; font-style: italic; } +.xref { + overflow-wrap: normal; +} /* tables */ table { From 47772532642d51cd70344ddacc03cc33f78bcd20 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Sat, 16 Mar 2024 10:16:00 +1000 Subject: [PATCH 2/3] chore: Run yestests (pre changes) --- tests/valid/docfile.html | 16 ++++++++-------- tests/valid/draft-miek-test.html | 8 ++++---- tests/valid/draft-template.html | 8 ++++---- tests/valid/indexes.pages.text | 16 ++++++++-------- tests/valid/indexes.prepped.xml | 8 ++++---- tests/valid/indexes.text | 6 +++--- tests/valid/indexes.v3.html | 12 ++++++------ tests/valid/manpage.txt | 10 +++++----- tests/valid/rfc7911.html | 8 ++++---- tests/valid/sourcecode.pages.text | 20 ++++++++++---------- tests/valid/sourcecode.prepped.xml | 8 ++++---- tests/valid/sourcecode.text | 6 +++--- tests/valid/sourcecode.v3.html | 12 ++++++------ 13 files changed, 69 insertions(+), 69 deletions(-) diff --git a/tests/valid/docfile.html b/tests/valid/docfile.html index 7c11c246..ac64e363 100644 --- a/tests/valid/docfile.html +++ b/tests/valid/docfile.html @@ -4,15 +4,15 @@ -Xml2rfc Vocabulary Version 3 Schema xml2rfc release 3.19.4 +Xml2rfc Vocabulary Version 3 Schema xml2rfc release 3.20.1 - - + + @@ -24,7 +24,7 @@ Xml2rfc Vocabulary V3 Schema -February 2024 +March 2024 xml2rfc(1) @@ -39,7 +39,7 @@
xml2rfc(1)
Published:
- +
Author:
@@ -49,7 +49,7 @@
-

Xml2rfc Vocabulary Version 3 Schema
xml2rfc release 3.19.4

+

Xml2rfc Vocabulary Version 3 Schema
xml2rfc release 3.20.1

Abstract

@@ -371,7 +371,7 @@

The latest version of this documentation is available in HTML form at https://ietf-tools.github.io/xml2rfc/.

- This documentation applies to xml2rfc version 3.19.4.

+ This documentation applies to xml2rfc version 3.20.1.

@@ -6367,7 +6367,7 @@

The following variables are available for use in an xml2rfc - manpage Jinja2 template, as of xml2rfc version 3.19.4:

+ manpage Jinja2 template, as of xml2rfc version 3.20.1:

{{ bare_latin_tags }}:
diff --git a/tests/valid/draft-miek-test.html b/tests/valid/draft-miek-test.html index 8b7cf845..9664eab4 100644 --- a/tests/valid/draft-miek-test.html +++ b/tests/valid/draft-miek-test.html @@ -16,7 +16,7 @@ This version is adapted to work with "xml2rfc" version 2.x. ' name="description"> - + @@ -26,21 +26,21 @@ diff --git a/tests/valid/draft-template.html b/tests/valid/draft-template.html index 6ce69147..451c5bf4 100644 --- a/tests/valid/draft-template.html +++ b/tests/valid/draft-template.html @@ -11,25 +11,25 @@ Insert an abstract: MANDATORY. This template is for creating an Internet Draft. " name="description"> - + diff --git a/tests/valid/indexes.pages.text b/tests/valid/indexes.pages.text index ef7d3c85..69da6af7 100644 --- a/tests/valid/indexes.pages.text +++ b/tests/valid/indexes.pages.text @@ -3,9 +3,9 @@ Network Working Group H. Person, Ed. -Internet-Draft February 19, 2024 +Internet-Draft March 16, 2024 Intended status: Experimental -Expires: August 22, 2024 +Expires: September 17, 2024 xml2rfc index tests @@ -26,7 +26,7 @@ Status of This Memo time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on August 22, 2024. + This Internet-Draft will expire on September 17, 2024. Copyright Notice @@ -53,9 +53,9 @@ Table of Contents -Person Expires August 22, 2024 [Page 1] +Person Expires September 17, 2024 [Page 1] -Internet-Draft xml2rfc index tests February 2024 +Internet-Draft xml2rfc index tests March 2024 This is another section! @@ -109,9 +109,9 @@ Index -Person Expires August 22, 2024 [Page 2] +Person Expires September 17, 2024 [Page 2] -Internet-Draft xml2rfc index tests February 2024 +Internet-Draft xml2rfc index tests March 2024 E @@ -165,4 +165,4 @@ Author's Address -Person Expires August 22, 2024 [Page 3] +Person Expires September 17, 2024 [Page 3] diff --git a/tests/valid/indexes.prepped.xml b/tests/valid/indexes.prepped.xml index b17c3a9c..a440351f 100644 --- a/tests/valid/indexes.prepped.xml +++ b/tests/valid/indexes.prepped.xml @@ -1,6 +1,6 @@ - - + + @@ -20,7 +20,7 @@ - +
Status of This Memo @@ -41,7 +41,7 @@ material or to cite them other than as "work in progress." - This Internet-Draft will expire on 22 August 2024. + This Internet-Draft will expire on 17 September 2024.
diff --git a/tests/valid/indexes.text b/tests/valid/indexes.text index b65c29ad..7f23df91 100644 --- a/tests/valid/indexes.text +++ b/tests/valid/indexes.text @@ -3,9 +3,9 @@ Network Working Group H. Person, Ed. -Internet-Draft February 19, 2024 +Internet-Draft March 16, 2024 Intended status: Experimental -Expires: August 22, 2024 +Expires: September 17, 2024 xml2rfc index tests @@ -26,7 +26,7 @@ Status of This Memo time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on August 22, 2024. + This Internet-Draft will expire on September 17, 2024. Copyright Notice diff --git a/tests/valid/indexes.v3.html b/tests/valid/indexes.v3.html index 143aee7d..d24b3031 100644 --- a/tests/valid/indexes.v3.html +++ b/tests/valid/indexes.v3.html @@ -6,7 +6,7 @@ xml2rfc index tests - + @@ -19,11 +19,11 @@ Internet-Draft xml2rfc index tests -February 2024 +March 2024 Person -Expires August 22, 2024 +Expires September 17, 2024 [Page] @@ -36,12 +36,12 @@
indexes-00
Published:
- +
Intended Status:
Experimental
Expires:
-
+
Author:
@@ -71,7 +71,7 @@

time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

- This Internet-Draft will expire on August 22, 2024.

+ This Internet-Draft will expire on September 17, 2024.