aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xem4
1 files changed, 3 insertions, 1 deletions
diff --git a/em b/em
index 649ebd6..0ad0f2b 100755
--- a/em
+++ b/em
@@ -15,7 +15,9 @@ hrefs=`'
for(href in $hrefs){
parts=`'=
'{echo $href}
- ref$parts(1)=$parts(2)
+ url=$parts(2)
+ for(part in $parts(3-)) url=$url^'='^$part
+ ref$parts(1)=$url
}
emparse $file