diff --git a/lisp/org-html.el b/lisp/org-html.el
index 3ac2b18..0ffde15 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1659,8 +1659,7 @@ lang=\"%s\" xml:lang=\"%s\">
(mapconcat
(lambda (x)
(setq i (1+ i))
- (if (and (< i nline)
- (string-match org-table-number-regexp x))
+ (if (string-match org-table-number-regexp x)
(incf (aref fnum i)))
(cond
(head