Skip to content

Commit

Permalink
Add newline after each fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtom committed Mar 10, 2021
1 parent 233fa91 commit d8a850f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Ink/API/MarkdownParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public struct MarkdownParser {

let plainText = fragments.reduce(into: "", { result, wrapper in
let plainText = wrapper.fragment.plainText()
result.append(plainText)
result.append("\(plainText)\n")
})

return Markdown(
Expand Down

0 comments on commit d8a850f

Please sign in to comment.