From 23a51562a1ee8552780b8d2f09a2f20f95f1a909 Mon Sep 17 00:00:00 2001 From: Snorre Ettrup Altschul Date: Thu, 6 Feb 2025 15:42:57 +0100 Subject: [PATCH] fixed links not respecting empty lines underneath --- public/js/md2html.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/md2html.js b/public/js/md2html.js index d0894ba..dad335e 100644 --- a/public/js/md2html.js +++ b/public/js/md2html.js @@ -177,6 +177,8 @@ const md2tokens = (markdown, newline) => { case '[': finish(); advance(); + newline=false; + newline_count=0; let text = capture_until("]"); advance();