quita saltos de línea <br> en líneas vacías
This commit is contained in:
parent
9b061476ed
commit
4498c5c129
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue