From 116c7b0f23b578ece6f5c530584a987f4db6947b Mon Sep 17 00:00:00 2001 From: Evan Lenz Date: Sat, 5 Feb 2022 12:45:22 -0800 Subject: [PATCH] Disallow h7 headings in output (force-limit to h6) fix #12 --- xsl/html.xsl | 1 + xsl/sections.xsl | 117 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100755 xsl/sections.xsl diff --git a/xsl/html.xsl b/xsl/html.xsl index 11a110b..f7ae431 100644 --- a/xsl/html.xsl +++ b/xsl/html.xsl @@ -33,5 +33,6 @@ + diff --git a/xsl/sections.xsl b/xsl/sections.xsl new file mode 100755 index 0000000..e076471 --- /dev/null +++ b/xsl/sections.xsl @@ -0,0 +1,117 @@ + + + + + + + + + + 1 + + + + + + + + + + + + 1 + + + + + + + 2 + 3 + 4 + 5 + 6 + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + + +