diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index cf230adee..5a81c4ccf 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -2646,7 +2646,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