about summary refs log tree commit diff stats
path: root/gemtohtm
diff options
context:
space:
mode:
Diffstat (limited to 'gemtohtm')
-rw-r--r--gemtohtm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gemtohtm b/gemtohtm
index 0f0d038..ff85297 100644
--- a/gemtohtm
+++ b/gemtohtm
@@ -1,5 +1,5 @@
 $1 == "#" { print "<h1>", $0, "</h1>"; next}
 $1 == "##" { print "<h2>", $0, "</h2>"; next}
 $1 == "###" { print "<h3>", $0, "</h3>"; next}
-$1 == "=>" { print "<a href=\"", $2, "\">" substr($0,index($0,$3)), "</a>"; next}
-{ print }
+$1 == "=>" { print "<a href=\"", $2, "\">" substr($0,index($0,$3)), "</a> <br>"; next}
+{ print $0, "<br>" }