Skip to content

Commit e582b56

Browse files
committed
Formatting of URLs for references
1 parent b999a80 commit e582b56

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/main.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<section id="sec-normative-references">
3737
<ul>
3838
<li>
39-
<cite id="bib-HTML-5">HTML Standard</cite>, Living Standard.
39+
<cite id="bib-HTML-5">HTML Standard</cite>, Living Standard
4040
<a>https://html.spec.whatwg.org/multipage/</a></li>
4141
</ul>
4242
</section>
@@ -2369,11 +2369,11 @@ <h3>Sample Workflow </h3>
23692369
<section id="sec-bibliography">
23702370
<ul>
23712371
<li><cite id="bib-iso-directives-part2">ISO/IEC Directives, Part 2</cite>, Principles and rules for the structure and drafting
2372-
of ISO and IEC documents (Ninth edition, 2021).
2372+
of ISO and IEC documents (Ninth edition, 2021)
23732373
<a>https://www.iso.org/sites/directives/current/part2/index.xhtml</a></li>
2374-
<li><cite id="bib-smpte-ag-02">SMPTE AG 02</cite>, Document Naming and Packaging.
2374+
<li><cite id="bib-smpte-ag-02">SMPTE AG 02</cite>, Document Naming and Packaging
23752375
<a>https://doc.smpte-doc.org/ag-02/main/</a></li>
2376-
<li><cite id="bib-smpte-ag-16">SMPTE AG 16</cite>, Standards Style Guide.
2376+
<li><cite id="bib-smpte-ag-16">SMPTE AG 16</cite>, Standards Style Guide
23772377
<a>https://doc.smpte-doc.org/ag-16/main/</a></li>
23782378
<li><cite id="bib-smpte-gh-om">SMPTE GitHub Operating Manual</cite>
23792379
<a>https://github.com/SMPTE/github-operating-manual</a></li>

smpte.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ function insertNormativeReferences(docMetadata) {
456456
/* style URLs */
457457

458458
for(const u of sec.querySelectorAll("ul a")) {
459-
u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
459+
u.parentNode.insertBefore(document.createElement("br"), u);
460460
}
461461
}
462462

@@ -544,7 +544,7 @@ function insertBibliography(docMetadata) {
544544
/* style links */
545545

546546
for(const u of sec.querySelectorAll("ul a")) {
547-
u.parentNode.insertBefore(document.createTextNode("url:\u00a0"), u);
547+
u.parentNode.insertBefore(document.createElement("br"), u);
548548
}
549549
}
550550

0 commit comments

Comments
 (0)