marsmining / ox-twbs

Export org-mode docs as HTML compatible with Twitter Bootstrap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table column alignment is not working

fhaifler opened this issue · comments

Exporting columns with specified alignement (etc. <r> to align right - as noted here) does not end with cells aligned to right.
Resulting html table cells has class right, which does not align textual content of the cell to the right. Shouldn't there be class text-right instead?

Table example:

| col1 |
|------|
| <r>  |
| text |

Possible fix:
on https://github.com/marsmining/ox-twbs/blob/master/ox-twbs.el#L2893
use class=\"text-%s\"" instead of just class=\"%s\""

Thanks for all the info! I pushed a fix which should show up in Melpa (not stable) within a few hours.

Tagged for melpa-stable just now so should be available in a few hours.

Awesome! Thanks for the good work.