1. Moritz Heidkamp
  2. lowdown

Commits

Moritz Heidkamp  committed ca83b5f

Fix new-line parser

  • Participants
  • Parent commits ee1e79b
  • Branches master

Comments (0)

Files changed (1)

File lowdown-impl.scm

View file
  • Ignore whitespace
   (one-or-more space-char))
 
 (define new-line
-  (->> (preceded-by (is #\return) (maybe #\newline))
+  (->> (preceded-by (is #\return) (maybe (is #\newline)))
        (any-of (is #\newline))))
 
 (define space-new-line