diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-09-18 01:01:35 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-09-18 01:01:35 -0600 |
| commit | 4bfd65125c6b5293c87de1ab0cd9a4b144b2706a (patch) | |
| tree | c8d22c1b68f13bac309390f5807aeabd0d6a7e2b /lib | |
| parent | 9cb73f8c9bee20cbd8ddd6c7fe6695946e454763 (diff) | |
remove unnecessary reference material in table handler in manpage converter
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/converter/manpage.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/asciidoctor/converter/manpage.rb b/lib/asciidoctor/converter/manpage.rb index f9edc64e..f6fbf6fe 100644 --- a/lib/asciidoctor/converter/manpage.rb +++ b/lib/asciidoctor/converter/manpage.rb @@ -409,19 +409,11 @@ allbox tab(:);' rows.each do |row| row_header[row_index] ||= [] row_text[row_index] ||= [] - # result << LF - # l left-adjusted - # r right-adjusted - # c centered-adjusted - # n numerical align - # a alphabetic align - # s spanned - # ^ vertically spanned remaining_cells = row.size row.each_with_index do |cell, cell_index| remaining_cells -= 1 row_header[row_index][cell_index] ||= [] - # Add an empty cell if this is a rowspan cell + # add an empty cell as a placeholder if this is a rowspan cell if row_header[row_index][cell_index] == ['^t'] row_text[row_index] << %(T{#{LF}T}:) end |
