From: Paul Hänsch Date: Tue, 11 Nov 2025 03:13:34 +0000 (+0100) Subject: Squashed 'cgilite/' changes from 6e9a98e1..e6a85aac X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=6a59a34ed56232c735c340f023c43b7d9f865a41;p=shellwiki Squashed 'cgilite/' changes from 6e9a98e1..e6a85aac e6a85aac use accessibility link label for anchor links git-subtree-dir: cgilite git-subtree-split: e6a85aac9ad28775c0fa1df6ace8103ae40fb5c8 --- diff --git a/markdown.awk b/markdown.awk index d02c497..a9a6e2b 100755 --- a/markdown.awk +++ b/markdown.awk @@ -360,7 +360,7 @@ function inline( line, LOCAL, len, text, code, href, guard, ret ) { return ret; } -function headline( hlvl, htxt, attrib, LOCAL, sec, n, hid, hid2, HL) { +function headline( hlvl, htxt, attrib, LOCAL, sec, n, hid, HL) { match(hstack, /([0-9]+( [0-9]+)( [0-9]+)( [0-9]+)( [0-9]+)( [0-9]+))$/); split( substr(hstack, RSTART), HL); for ( n = hlvl; n <= 6; n++ ) { sec = sec (HL[n]?"":""); } @@ -375,7 +375,7 @@ function headline( hlvl, htxt, attrib, LOCAL, sec, n, hid, hid2, HL) { return sec "
" \ "" inline( htxt ) \ - "" \ + "" \ "\n"; }