From e9e2bd6b8985269520b34cb1f960baf904c06807 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Thu, 6 Dec 2018 09:00:44 +0100 Subject: Fix linking to chapters in gf-tutorial; Remove reference to Htmls. --- bin/update_html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/update_html b/bin/update_html index 2d2ac4dc0..c71c2e8ef 100755 --- a/bin/update_html +++ b/bin/update_html @@ -23,7 +23,7 @@ function render_t2t_html { --infile="$t2t" # Replace with
so that Pandoc retains it - sed -i.bak "s/<\/A>/
<\/div>/" "$tmp" && rm "$tmp.bak" + sed -i.bak "s/<(a|A) (name|NAME)=\"\(.*\)\"><\/(a|A)>/
<\/div>/" "$tmp" && rm "$tmp.bak" # Capture first 3 lines of t2t file: title, author, date # Documentation here: https://txt2tags.org/userguide/headerarea -- cgit v1.2.3