From 82ce4a601bb886fc5e7db4e0374d1953ab330e3e Mon Sep 17 00:00:00 2001 From: martindholmes Date: Wed, 13 May 2026 15:38:38 -0700 Subject: [PATCH] Fix a variety of HTML validity issues along with fix for issue #351. --- xsl/makeSearchPage.xsl | 23 ++++++++++++------- xsl/spiff_up_documentation.xsl | 28 +++++++++++++++++------ xsl/split_documentation.xsl | 41 +++++++++++++++++++++++++++------- 3 files changed, 69 insertions(+), 23 deletions(-) diff --git a/xsl/makeSearchPage.xsl b/xsl/makeSearchPage.xsl index 961683d1..d532c5f2 100644 --- a/xsl/makeSearchPage.xsl +++ b/xsl/makeSearchPage.xsl @@ -63,7 +63,7 @@ + include-content-type="no"/> @@ -46,6 +47,9 @@ + + +

@@ -56,10 +60,20 @@

- - + + + + + + + + + + + + + @@ -80,7 +94,7 @@ - Show/Hide fillable inputs + @@ -124,7 +138,7 @@ - + diff --git a/xsl/split_documentation.xsl b/xsl/split_documentation.xsl index d914e494..7c2bba41 100644 --- a/xsl/split_documentation.xsl +++ b/xsl/split_documentation.xsl @@ -20,7 +20,8 @@ Specify we're outputting XHTML 5. - + The table of contents as generated by the TEI Stylesheets. @@ -54,9 +55,6 @@ - - - @@ -77,18 +75,43 @@ + + Add a proper meta tag to replace any meta[@http-equiv] obsolete version. + + + + + + + + + + + Place the document title into the body, and add the staticSearch div.
- +
-
+ + + + For all documents: suppress any Content-Type meta tag, in preference for the standard + meta tag we insert below. + + + + + Get rid of the obsolete @type attribute on script elements. + + + Delete the back from all documents. @@ -136,7 +159,7 @@ - + @@ -169,7 +192,6 @@ - Add staticSearch metadata to the HTML head for that section. Tunneled parameter that contains the section currently being processed. @@ -178,6 +200,9 @@ + + +