aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/publish.sh b/www/publish.sh
index ab9147fc..90d52288 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -40,6 +40,7 @@ echo "[License](/license.md)" >> temp.md
# change out .md -> .html
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'
+sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*]/.html\1]/g'
# work around issue #2872
TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || TOC=""