aboutsummaryrefslogtreecommitdiffstats
path: root/gemtext2html.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gemtext2html.awk')
-rw-r--r--gemtext2html.awk6
1 files changed, 5 insertions, 1 deletions
diff --git a/gemtext2html.awk b/gemtext2html.awk
index c7e5fdc..0fa9326 100644
--- a/gemtext2html.awk
+++ b/gemtext2html.awk
@@ -83,11 +83,15 @@ NR == 1{
/^\+/{ # include literal
- sub("^+","",$0) # elimina el +
+ sub(/^+ /,"",$0) # elimina el +
appendContenido( $0 )
next
}
+/^&/{ # include literal gemtext
+ next
+}
+
/^[[:blank:]]*$/ { # línea vacía
if( !modo_pre ) {
if( modo_lista ){ # cierra la lista
Un proyecto texto-plano.xyz