Summary Files Commits Branches @commit @diff @stats
path: root / single.awk
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--single.awk2
diff --git a/single.awk b/single.awk
index fb79af2..4c99577 100644
--- a/single.awk
+++ b/single.awk
@@ -247,7 +247,7 @@ blankline {
inner_anchor = substr($0, RSTART + 1, RLENGTH - 3) ## ...[xxxxx](...)...
aend = RSTART + RLENGTH - 1
- match(substr($0, astart), /\]\([^)]*)/)
+ match(substr($0, astart), /\]\([^)]*\)/)
aend += RLENGTH - 2 ## aend = indexof(")")
href = substr($0, astart + RSTART + 1, RLENGTH - 3) ## ...[...](xxxxx)...