Parcourir la source

Fix special character bug in `orgtbl-to-html'

* lisp/org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
table fields.
Carsten Dominik il y a 14 ans
Parent
commit
397880bcde
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -4258,7 +4258,7 @@ so you cannot specify parameters for it."
 		 (lambda (x)
 		   (if (eq x 'hline)
 		       "|----+----|"
-		     (concat "| " (mapconcat 'identity x " | ") " |")))
+		     (concat "| " (mapconcat 'org-html-expand x " | ") " |")))
 		 table)
 		splicep))
     (if (string-match "\n+\\'" html)