From: Paul Hänsch Date: Tue, 11 Nov 2025 02:33:03 +0000 (+0100) Subject: use accessibility link label for anchor links X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=e6a85aac9ad28775c0fa1df6ace8103ae40fb5c8;p=cgilite use accessibility link label for anchor links --- 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"; }