diff options
author | John Ankarström <john@ankarstrom.se> | 2021-02-01 12:43:20 +0000 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-02-01 12:43:20 +0000 |
commit | cd943ef6b47b00c73b3b544fb3ecb07c91511f0d (patch) | |
tree | dcafa327319ac3977278c408e6b2e5a8c94d0dd1 | |
parent | 78260be6f8800d79308599d8376c0c4f7f7dda2a (diff) | |
download | em-cd943ef6b47b00c73b3b544fb3ecb07c91511f0d.tar.gz |
Fix hyperlink references containing equal signs
This could probably be done more elegantly,
but it works.
-rwxr-xr-x | em | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |