Commits

Moritz Heidkamp  committed 59784fe

Don't allow inline markup like _foo_ to span more than one newline (thanks retroj for reporting this issue)

  • Participants
  • Parent commits 041b714

Comments (0)

Files changed (1)

File lowdown-impl.scm

     (preceded-by (none-of (line-of char))
                  parser
                  (none-of space-char new-line)
-                 (sequence* ((x (-> (none-of* close inline)
+                 (sequence* ((x (-> (none-of* close (repeated blank-line min: 2) inline)
                                     (zero-or-more)))
                              (y close))
                    (result (append x (list y)))))))