aboutsummaryrefslogtreecommitdiff
path: root/tools/make_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make_spec.lua')
-rw-r--r--tools/make_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_spec.lua b/tools/make_spec.lua
index acfdb61..144a5af 100644
--- a/tools/make_spec.lua
+++ b/tools/make_spec.lua
@@ -156,7 +156,7 @@ local create_anchors = function(doc, meta, to)
stop="}\\label{" .. ident .. "}}",
block = true})
else
- anchor = make_html_block('h' .. tostring(level),
+ anchor = make_html_block('h' .. tostring(math.floor(level)),
{{'id', ident},
{'href', '#'..ident},
{'class', 'definition'}})