summaryrefslogtreecommitdiff
path: root/lib/html.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-24 19:30:06 +0300
committerPaul Buetow <paul@buetow.org>2024-08-24 19:30:06 +0300
commitbcdc16d4e59af05a07846ed704e3f75a122cd643 (patch)
tree6dfaa5e15ff0e359e8b9081df5bd7714b3fad137 /lib/html.source.sh
parent3414d142ca5cad945657c2996f924db34da79c3d (diff)
fix ToC
Diffstat (limited to 'lib/html.source.sh')
-rw-r--r--lib/html.source.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/html.source.sh b/lib/html.source.sh
index 543a459..540762d 100644
--- a/lib/html.source.sh
+++ b/lib/html.source.sh
@@ -160,7 +160,6 @@ html::list::encode () {
: $(( toc_indent-- ))
done
- text="${text/ /}"
local -r id="$(generate::internal_link_id "$text")"
echo "<a href='#$id'>$(html::encode "$text")</a>"
}