about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2023-01-04 15:28:43 -0500
committerelioat <hi@eli.li>2023-01-04 15:28:43 -0500
commit9e37c712d785986bb20944ba935db5164dc03ccd (patch)
tree26968f38149f0451d5139482cbf8d3f9f92f57a0
parent9c97e19005a7560950a12ab86bae4e3cd0f0d198 (diff)
downloadtour-9e37c712d785986bb20944ba935db5164dc03ccd.tar.gz
updated forth gmi2html script
-rw-r--r--forth/gmi2html.fs7
1 files changed, 4 insertions, 3 deletions
diff --git a/forth/gmi2html.fs b/forth/gmi2html.fs
index bd9f301..1a08ccf 100644
--- a/forth/gmi2html.fs
+++ b/forth/gmi2html.fs
@@ -13,8 +13,9 @@
 
 \ === HTML Output === \
 
-: html-line-break ." <br>" ;
+\ : html-line-break ." <br>" ;
 
+: html-line-break ." " ;
 : html-blockquote-open ." <blockquote>" ;
 : html-blockquote-close ." </blockquote>" ;
 
@@ -34,9 +35,9 @@
 
 
 : html-link ( c-content u c-url u -- )
-	.\" <a rel=\"noreferrer\" href=\"" type .\" \">"
+	.\" <p><a rel=\"noreferrer\" href=\"" type .\" \">"
 	type
-	." </a>"
+	." </a></p>"
 	;
 
 : html-heading ( level c-content u -- )