aboutsummaryrefslogtreecommitdiffstats
path: root/gemtext2html.awk
diff options
context:
space:
mode:
authorsejo <sejo@texto-plano.xyz>2021-05-19 21:35:16 -0500
committersejo <sejo@texto-plano.xyz>2021-05-19 21:35:16 -0500
commit4498c5c12945d3b1546e206e358f9950f3f36f92 (patch)
treee9c82fc3039b6b876533c071ac6bc648ea026d23 /gemtext2html.awk
parent9b061476ed15875a18b5f48fb5bc8c3b9a86cabf (diff)
downloadsitio-4498c5c12945d3b1546e206e358f9950f3f36f92.tar.gz
quita saltos de línea <br> en líneas vacías
Diffstat (limited to 'gemtext2html.awk')
-rw-r--r--gemtext2html.awk5
1 files changed, 2 insertions, 3 deletions
diff --git a/gemtext2html.awk b/gemtext2html.awk
index ebc1f39..c808a40 100644
--- a/gemtext2html.awk
+++ b/gemtext2html.awk
@@ -22,7 +22,6 @@ BEGIN{
print "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />"
print "<meta content='initial-scale=1.0, maximum-scale=1.0, user-scalable=yes' name='viewport'/>"
print "<link rel='stylesheet' href='./static/estilo.css'>"
- print "</head><body>"
contenido = "<main><section>"
nav = "<nav><ul>"
@@ -98,8 +97,8 @@ $0 !~ /^(=>|```|#{1,3} |* |>|[[:blank:]]*$)/{ # líneas de texto (no "especiales
}
else if( bloque ) # si lo previo fue header o blockquote
bloque = 0;
- else
- appendContenido( "<br/>" )
+# else
+# appendContenido( "<br/>" )
}
else
appendContenido( $0 )
Un proyecto texto-plano.xyz