diff options
author | Case Duckworth | 2024-01-22 09:44:38 -0600 |
---|---|---|
committer | Case Duckworth | 2024-01-22 09:44:38 -0600 |
commit | 128d8c4bcddf9570da5785ff171e70c97c1a54b5 (patch) | |
tree | ce6111d0697a9adef71665898b5f809d317cf4fd /etlib.sh | |
parent | Initial commit (diff) | |
download | et-128d8c4bcddf9570da5785ff171e70c97c1a54b5.tar.gz et-128d8c4bcddf9570da5785ff171e70c97c1a54b5.zip |
Update
Diffstat (limited to 'etlib.sh')
-rw-r--r-- | etlib.sh | 3 |
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 | ||
31 | alias p='html_el p' | 31 | alias p='html_el p' |
32 | alias a='html_el a' | ||
32 | alias h1='html_el h1' | 33 | alias h1='html_el h1' |
33 | alias blockquote='html_el blockquote' | 34 | alias blockquote='html_el blockquote' |
34 | alias bq=blockquote | 35 | alias bq=blockquote |