From e582b560fad32566acbecafc29954dd5d467d84c Mon Sep 17 00:00:00 2001
From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com>
Date: Fri, 16 May 2025 09:59:31 -0700
Subject: [PATCH 1/2] Formatting of URLs for references
---
doc/main.html | 8 ++++----
smpte.js | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/main.html b/doc/main.html
index f8889e0..ee2ff31 100644
--- a/doc/main.html
+++ b/doc/main.html
@@ -36,7 +36,7 @@
@@ -2369,11 +2369,11 @@
Sample Workflow
- ISO/IEC Directives, Part 2, Principles and rules for the structure and drafting
- of ISO and IEC documents (Ninth edition, 2021).
+ of ISO and IEC documents (Ninth edition, 2021)
https://www.iso.org/sites/directives/current/part2/index.xhtml
- - SMPTE AG 02, Document Naming and Packaging.
+
- SMPTE AG 02, Document Naming and Packaging
https://doc.smpte-doc.org/ag-02/main/
- - SMPTE AG 16, Standards Style Guide.
+
- SMPTE AG 16, Standards Style Guide
https://doc.smpte-doc.org/ag-16/main/
- SMPTE GitHub Operating Manual
https://github.com/SMPTE/github-operating-manual
diff --git a/smpte.js b/smpte.js
index e22e697..1b709e3 100644
--- a/smpte.js
+++ b/smpte.js
@@ -456,7 +456,7 @@ function insertNormativeReferences(docMetadata) {
/* style URLs */
for(const u of sec.querySelectorAll("ul a")) {
- u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
+ u.parentNode.insertBefore(document.createElement("br"), u);
}
}
@@ -544,7 +544,7 @@ function insertBibliography(docMetadata) {
/* style links */
for(const u of sec.querySelectorAll("ul a")) {
- u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
+ u.parentNode.insertBefore(document.createElement("br"), u);
}
}
From 86b5a4a7d0096b0b508292084ab958652978e50c Mon Sep 17 00:00:00 2001
From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com>
Date: Fri, 16 May 2025 11:02:57 -0700
Subject: [PATCH 2/2] add URL back in
---
smpte.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/smpte.js b/smpte.js
index 1b709e3..cf638ac 100644
--- a/smpte.js
+++ b/smpte.js
@@ -457,6 +457,7 @@ function insertNormativeReferences(docMetadata) {
for(const u of sec.querySelectorAll("ul a")) {
u.parentNode.insertBefore(document.createElement("br"), u);
+ u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
}
}
@@ -545,6 +546,7 @@ function insertBibliography(docMetadata) {
for(const u of sec.querySelectorAll("ul a")) {
u.parentNode.insertBefore(document.createElement("br"), u);
+ u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
}
}