Skip to content

Commit

Permalink
Merge pull request #12 from cvogt/patch-1
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
technosophos committed Sep 21, 2015
2 parents bd8de2c + 45f81b9 commit bae117a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func autolink(target string) *html.Node {

// newA creates a TOC anchor.
func newA(name, etype string) *html.Node {
name = strings.Replace(url.QueryEscape(name), "%20", "+", -1)
name = strings.Replace(url.QueryEscape(name), "+", "%20", -1)

target := fmt.Sprintf("//apple_ref/cpp/%s/%s", etype, name)
return &html.Node{
Expand Down

0 comments on commit bae117a

Please sign in to comment.