diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-09-07 03:08:07 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-07 03:08:07 -0600 |
| commit | 9e75b5d5a5441f779117b85262d04a524522a7d3 (patch) | |
| tree | 5d4da6f6fa27f480dd40ca528013c4e9f4e445de /lib | |
| parent | 454d590906459dc4645f9b01e44df486c1385827 (diff) | |
resolves #4481 preserve paragraph breaks in normal table cell in manpage output (PR #4484)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/converter/manpage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/converter/manpage.rb b/lib/asciidoctor/converter/manpage.rb index 9d5ad5f7..8bb7a1e1 100644 --- a/lib/asciidoctor/converter/manpage.rb +++ b/lib/asciidoctor/converter/manpage.rb @@ -440,7 +440,7 @@ allbox tab(:);' when :literal cell_content = %(.nf#{LF}#{manify cell.text, whitespace: :preserve}#{LF}.fi) else - cell_content = manify cell.content.join, whitespace: :normalize + cell_content = cell.content.map {|p| manify p, whitespace: :normalize }.join %(#{LF}.sp#{LF}) end row_text[row_index] << %(#{cell_content}#{LF}) else # tsec == :head || tsec == :foot |
