paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 629c4cf8bb618667e701f2b33311ecec6105d332
parent 5521eb4f700904517dc7a5cc23afb2d6e36fc9f8
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 28 May 2020 00:58:07 -0400

Fix section tag creation in compile script

Diffstat:
Mcompile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compile b/compile @@ -202,7 +202,7 @@ set_html_toc() sed -i -e "/toc-title/a\\ <ul><ul><li><a href=\"#$tocEntryId\">$tocEntry</a></li></ul></ul>" \ "$outputFile" - sed -i -e "/<h5>$tocEntry<\/h5>/i\\ + sed -i -e "/$tocEntry<\/h5>/i\\ </section>\n<section>" \ "$outputFile" elif echo "$tocEntry" | grep -qi "^sub:"; then @@ -212,7 +212,7 @@ set_html_toc() sed -i -e "/toc-title/a\\ <ul><li><a href=\"#$tocEntryId\">$tocEntry</a></li></ul>" \ "$outputFile" - sed -i -e "/<h4>$tocEntry<\/h4>/i\\ + sed -i -e "/$tocEntry<\/h4>/i\\ </section>\n<section>" \ "$outputFile" else @@ -221,7 +221,7 @@ set_html_toc() sed -i -e "/toc-title/a\\ <li><a href=\"#$tocEntryId\">$tocEntry</a></li>" \ "$outputFile" - sed -i -e "/<h3>$tocEntry<\/h3>/i\\ + sed -i -e "/$tocEntry<\/h3>/i\\ </section\>\n<section>" \ "$outputFile" fi