Summary Files Commits Branches @commit @diff @stats
path: root / awk-edits
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--awk-edits/Heading-anchors.awk2
diff --git a/awk-edits/Heading-anchors.awk b/awk-edits/Heading-anchors.awk
index 34c8104..2877fde 100644
--- a/awk-edits/Heading-anchors.awk
+++ b/awk-edits/Heading-anchors.awk
@@ -8,5 +8,5 @@
/[ \t]*<h[23456]/ {
id = substr($0, index($0, "id=\"") + 4)
id = substr(id, 0, index(id, "\"") - 1)
- gsub(/$/, ORS "<a class=\"h-anchor\" href=\"#" id "\"><img src=\"/img/link.svg\" alt=\"🔗\" loading=\"lazy\"></a>")
+ gsub(/$/, ORS "<a class=\"h-anchor\" href=\"#" id "\" aria-hidden=\"true\">\\&#xeade;</a>")
}