quita saltos de línea <br> en líneas vacías

This commit is contained in:
sejo 2021-05-19 21:35:16 -05:00
parent 9b061476ed
commit 4498c5c129
1 changed files with 2 additions and 3 deletions

View File

@ -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 )