about summary refs log tree commit diff stats
path: root/etlib.sh
diff options
context:
space:
mode:
authorCase Duckworth2024-01-22 09:44:38 -0600
committerCase Duckworth2024-01-22 09:44:38 -0600
commit128d8c4bcddf9570da5785ff171e70c97c1a54b5 (patch)
treece6111d0697a9adef71665898b5f809d317cf4fd /etlib.sh
parentInitial commit (diff)
downloadet-128d8c4bcddf9570da5785ff171e70c97c1a54b5.tar.gz
et-128d8c4bcddf9570da5785ff171e70c97c1a54b5.zip
Update
Diffstat (limited to 'etlib.sh')
-rw-r--r--etlib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/etlib.sh b/etlib.sh index 971b879..bdf1846 100644 --- a/etlib.sh +++ b/etlib.sh
@@ -15,7 +15,7 @@ html_el(){ # el TAG [ATTRS...] [TEXT...] [< INPUT]
15 for arg 15 for arg
16 do 16 do
17 case "$arg" in 17 case "$arg" in
18 (*=*) attrs="$attrs ${arg%%=*}=\"${arg#*=}\""; shift ;; 18 (*=*) attrs="$attrs ${arg%%=*}=${arg#*=}"; shift ;;
19 (*) break ;; 19 (*) break ;;
20 esac 20 esac
21 done 21 done
@@ -29,6 +29,7 @@ html_el(){ # el TAG [ATTRS...] [TEXT...] [< INPUT]
29} 29}
30 30
31alias p='html_el p' 31alias p='html_el p'
32alias a='html_el a'
32alias h1='html_el h1' 33alias h1='html_el h1'
33alias blockquote='html_el blockquote' 34alias blockquote='html_el blockquote'
34alias bq=blockquote 35alias bq=blockquote