about summary refs log tree commit diff stats
path: root/adapter/format/gmi2html.nim
diff options
context:
space:
mode:
Diffstat (limited to 'adapter/format/gmi2html.nim')
-rw-r--r--adapter/format/gmi2html.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/adapter/format/gmi2html.nim b/adapter/format/gmi2html.nim
index ee3c06bd..9dde28f1 100644
--- a/adapter/format/gmi2html.nim
+++ b/adapter/format/gmi2html.nim
@@ -23,7 +23,7 @@ a, pre, ul, blockquote, li, h1, h2, h3 { margin-top: 0; margin-bottom: 0 }
   while not stdin.endOfFile:
     let line = stdin.readLine()
     if inpre and not line.startsWith("```"):
-      stdout.write(line.htmlEscape() & "\n")
+      stdout.write(line.htmlEscape() & '\n')
       continue
     if inul and not line.startsWith("* "):
       stdout.write("</ul>")
@@ -64,6 +64,6 @@ a, pre, ul, blockquote, li, h1, h2, h3 { margin-top: 0; margin-bottom: 0 }
       stdout.write(line.substr(1).htmlEscape())
       stdout.write("</blockquote>")
     else:
-      stdout.write(line.htmlEscape() & "\n")
+      stdout.write(line.htmlEscape() & '\n')
 
 main()