Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Commit 836d92d

Browse files
committed
Add the dollar sign to attribute anchor ids
1 parent b5ab010 commit 836d92d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎admin/filters/anchor_aliases.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function alias_entries(string $page): array
8383
$entries[] = alias_entry(heading_slug($name), [$class]);
8484
} else {
8585
$owner = $class !== '' && !in_array($kind, ['function', 'const'], true) ? $class . '::' : $prefix;
86-
$entries[] = alias_entry(heading_slug($kind === 'const' ? $name : $signature), [$owner . $name]);
86+
$entries[] = alias_entry(heading_slug($kind === 'const' ? $name : $signature), [$owner . ($kind === 'attr' ? '$' : '') . $name]);
8787
}
8888
}
8989
}

0 commit comments

Comments
 (0)