Browse Source

ox-html.el (org-html-table-row-tags): Fix example in docstring

* ox-html.el (org-html-table-row-tags): Fix example in docstring.

Thanks to Stefan Vollmar for providing the correct example.
Bastien Guerry 4 years ago
parent
commit
e664fc89d5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lisp/ox-html.el

+ 3 - 1
lisp/ox-html.el

@@ -796,7 +796,9 @@ For example:
 
   (setq org-html-table-row-tags
         (cons '(cond (top-row-p \"<tr class=\\\"tr-top\\\">\")
-                     (bottom-row-p \"<tr class=\\\"tr-bottom\\\">\"))))
+                     (bottom-row-p \"<tr class=\\\"tr-bottom\\\">\")
+                     (t \"<tr>\"))
+              \"</tr>\"))
 
 will use the \"tr-top\" and \"tr-bottom\" classes for top and bottom row."
   :group 'org-export-html