summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt')
-rw-r--r--src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt b/src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt
index 328c49b..5e51786 100644
--- a/src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt
+++ b/src/main/kotlin/moe/nea/blog/md/ParagraphParser.kt
@@ -17,7 +17,7 @@ object ParagraphParser : BlockParser {
} else {
emptyLineCount = 0
}
- if (emptyLineCount == 2) {
+ if (emptyLineCount == 1) {
break
}
text += " $trimmedLine"