diff options
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 |