aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristopher Bero <csb0019@uah.edu>2017-05-12 17:23:05 -0500
committerChristopher Bero <csb0019@uah.edu>2017-05-12 17:23:05 -0500
commitf2c1a8197bc9b8685851b21b8968216141582825 (patch)
tree380cba577ab15f694599ef399c4122304e221d73 /www
parent529f108d8c175fb8a7b2541b64991445c9ef7ac7 (diff)
downloadlibrebootfr-f2c1a8197bc9b8685851b21b8968216141582825.tar.gz
librebootfr-f2c1a8197bc9b8685851b21b8968216141582825.zip
Fixed typo in sed command to generate section title anchors.
Diffstat (limited to 'www')
-rwxr-xr-xwww/publish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 4b284041..fbfddbd8 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -67,4 +67,4 @@ pandoc $TOC $SMART temp.md -s --css /global.css $OPTS \
pandoc $1 > $FILE.bare.html
# generate section title anchors as [link]
-sed $FILE.html -i -e 's_^<h\([123]\) id="\(.*\)">\(.*\)</h\1>_<h\1 style="display: inline;" id="\2">\3</h\1> [<a style="display: inline;" href="#\1">link</a>]_'
+sed $FILE.html -i -e 's_^<h\([123]\) id="\(.*\)">\(.*\)</h\1>_<h\1 style="display: inline;" id="\2">\3</h\1> [<a style="display: inline;" href="#\2">link</a>]_'