Skip to content

Commit

Permalink
Merge pull request #3276 from nickanderson/ENT-11806/3.21
Browse files Browse the repository at this point in the history
ENT-11806: Striped double dashes resulting from stripping other characters
  • Loading branch information
nickanderson authored May 23, 2024
2 parents 8515dda + 3956167 commit 888baea
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 888baea

Please sign in to comment.