Skip to content

Commit 9d62f32

Browse files
Join paragraphs with newline character
1 parent 16b8d59 commit 9d62f32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/docx/document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def to_s
9292

9393
# Output entire document as a String HTML fragment
9494
def to_html
95-
paragraphs.map(&:to_html).join('\n')
95+
paragraphs.map(&:to_html).join("\n")
9696
end
9797

9898
# Save document to provided path

0 commit comments

Comments
 (0)