diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 174a3d9d2..13826dd06 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -2665,7 +2665,7 @@ holding contextual information."
(format
"%s "
level
- (mapconcat #'number-to-string numbers ".")))
+ (concat (mapconcat #'number-to-string numbers ".") ".")))
formatted-text)
level)
;; When there is no section, pretend there is an