diff --git a/bin/update_html b/bin/update_html index c71c2e8ef..8e96139ca 100755 --- a/bin/update_html +++ b/bin/update_html @@ -23,7 +23,10 @@ function render_t2t_html { --infile="$t2t" # Replace with
so that Pandoc retains it - sed -i.bak "s/<(a|A) (name|NAME)=\"\(.*\)\"><\/(a|A)>/
<\/div>/" "$tmp" && rm "$tmp.bak" + # Do this for both cases since BSD sed doesn't support /i + sed -i.bak "s/<\/a>/
<\/div>/" "$tmp" + sed -i.bak "s/<\/A>/
<\/div>/" "$tmp" + rm -f "$tmp.bak" # Capture first 3 lines of t2t file: title, author, date # Documentation here: https://txt2tags.org/userguide/headerarea