diff options
author | sejo <sejo@texto-plano.xyz> | 2021-05-20 16:06:33 -0500 |
---|---|---|
committer | sejo <sejo@texto-plano.xyz> | 2021-05-20 16:06:33 -0500 |
commit | e6d54f976e313e149e5f3688d4db3c23cfb5adf5 (patch) | |
tree | 398348e1aecb824df89620c3f084c5b7487e690b /gemtext2html.awk | |
parent | eda062e6192566b821b0b0e5f51d5c66e29fb6bc (diff) | |
download | sitio-e6d54f976e313e149e5f3688d4db3c23cfb5adf5.tar.gz |
& para incluir líneas gemtext
Diffstat (limited to 'gemtext2html.awk')
-rw-r--r-- | gemtext2html.awk | 6 |
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 |