Skip to content

Commit

Permalink
Striped double dashes resulting from stripping other characters
Browse files Browse the repository at this point in the history
Ticket: ENT-11806
Changelog: None
(cherry picked from commit 5a6e685)
  • Loading branch information
nickanderson committed May 22, 2024
1 parent 8515dda commit 3956167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/_scripts/cfdoc_linkresolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def headerToAnchor(header):
anchor = anchor.replace("$", "-")
anchor = anchor.replace("(", "-")
anchor = anchor.replace(")", "-")
anchor = anchor.replace("--", "-")
anchor = anchor.replace('"', "")
anchor = anchor.lstrip("-").rstrip("-")
return anchor
Expand Down

0 comments on commit 3956167

Please sign in to comment.