Pārlūkot izejas kodu

org-latex.el: bugfix about exporting narrowed tables.

* org-latex.el (org-export-latex-tables): Bugfix: remove
properties from fields.

Thanks to Frederik for reporting this.
Bastien Guerry 13 gadi atpakaļ
vecāks
revīzija
3018219cca
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      lisp/org-latex.el

+ 3 - 1
lisp/org-latex.el

@@ -1930,7 +1930,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
                   (mapcar
                    (lambda(elem)
                      (or (and (string-match "[ \t]*|-+" elem) 'hline)
-                         (org-split-string (org-trim elem) "|")))
+                         (org-split-string 
+			  (progn (set-text-properties 0 (length elem) nil elem)
+				 (org-trim elem)) "|")))
                    lines))
             (when insert
               (insert (org-export-latex-protect-string