diff options
| author | Matthew "strager" Glazar <strager.nds@gmail.com> | 2023-09-01 20:52:25 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-09-18 00:59:27 -0600 |
| commit | 9cb73f8c9bee20cbd8ddd6c7fe6695946e454763 (patch) | |
| tree | 0917743042e8a47ca12e1dcbbccfc35508d2a2b5 /lib | |
| parent | 9e75b5d5a5441f779117b85262d04a524522a7d3 (diff) | |
resolves #4482 remove empty line at top of table cells in manpage output
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/converter/manpage.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asciidoctor/converter/manpage.rb b/lib/asciidoctor/converter/manpage.rb index 8bb7a1e1..f9edc64e 100644 --- a/lib/asciidoctor/converter/manpage.rb +++ b/lib/asciidoctor/converter/manpage.rb @@ -423,9 +423,9 @@ allbox tab(:);' row_header[row_index][cell_index] ||= [] # Add an empty cell if this is a rowspan cell if row_header[row_index][cell_index] == ['^t'] - row_text[row_index] << %(T{#{LF}.sp#{LF}T}:) + row_text[row_index] << %(T{#{LF}T}:) end - row_text[row_index] << %(T{#{LF}.sp#{LF}) + row_text[row_index] << %(T{#{LF}) cell_halign = (cell.attr 'halign', 'left').chr if tsec == :body if row_header[row_index].empty? || row_header[row_index][cell_index].empty? |
