Skip to content

Remove any first/last dashes from anchors

Achilleas Pipinellis requested to merge anchor-first-last-dash into master

There are cases where the title might start/end with a non-alphanumerical character like a period or a parenthesis. Stripping those characters fixes the ToC not being the same as the anchor links.

Merge request reports