org-export: Fix table export bug with cells made of only one object
commit01d83dc1f4880717c149181a0f8d7975bfc9e172
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 3 May 2012 12:29:30 +0000 (3 14:29 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 3 May 2012 12:29:30 +0000 (3 14:29 +0200)
tree87fedda572834179dda5e4c27e28cfde81beb680
parentf4791557e2a1e10f6a8aaadfb94b93372a70e969
org-export: Fix table export bug with cells made of only one object

* contrib/lisp/org-export.el (org-export-table-row-is-special-p,
  org-export-table-cell-width, org-export-table-cell-alignment):
  Ensure cell only contains a string before trying to match width
  cookie.
* testing/lisp/test-org-export.el: Modify tests accordingly.

Thanks to Eric Fraga for discovering and investigating about this.
contrib/lisp/org-export.el
testing/lisp/test-org-export.el