summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/blog/md/Paragraph.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/Paragraph.kt')
-rw-r--r--src/main/kotlin/moe/nea/blog/md/Paragraph.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/Paragraph.kt b/src/main/kotlin/moe/nea/blog/md/Paragraph.kt
index 54f688b..f715e53 100644
--- a/src/main/kotlin/moe/nea/blog/md/Paragraph.kt
+++ b/src/main/kotlin/moe/nea/blog/md/Paragraph.kt
@@ -6,7 +6,11 @@ import java.io.PrintStream
data class Paragraph(val format: MarkdownFormat) : MarkdownBlock {
override fun debugFormat(indent: Int, printStream: PrintStream) {
printStream.indent(indent)
+ printStream.println("<p>")
+ printStream.indent(indent)
format.debugFormat(printStream)
printStream.println()
+ printStream.indent(indent)
+ printStream.println("</p>")
}
} \ No newline at end of file