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.
This commit is contained in:
Bastien Guerry 2011-07-10 00:28:33 +02:00
parent d406defd61
commit 3018219cca
1 changed files with 3 additions and 1 deletions

View File

@ -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