Problem using Asciidoctor-PDF to format wide autowidth table header cells

Posted by jtkorb on
URL: https://discuss.asciidoctor.org/Problem-using-Asciidoctor-PDF-to-format-wide-autowidth-table-header-cells-tp7220.html

I'm having trouble formatting an autowidth table when the header cell is wider than all the cells in the column: the header cell wraps unnecessarily (even if the header is only one word, the last letter wraps).

Here is an example of three tables:

[options="header,autowidth"]
|====
|Header Cell
|text
|====

[options="header,autowidth"]
|====
|Header
|text
|====

[options="header,autowidth"]
|====
|Header
|more text
|====

Formatting with asciidoctor-pdf looks like this...



Conversion to HTML (with plain asciidoctor) works fine.  

Is my syntax incorrect, or is there a workaround I can use?