Skip to content

Commit

Permalink
fix(serving): understand markdown escapes for spacing (#5846)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroederc committed Sep 15, 2023
1 parent 23ec6cb commit 26c7439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kythe/go/util/markedsource/markedsource.go
Expand Up @@ -371,7 +371,7 @@ func (r renderer) linkForSource(node *cpb.MarkedSource) string {
return ""
}

var excludedSpaceCharacters = regexp.MustCompile(`^[),\]>\s].*`)
var excludedSpaceCharacters = regexp.MustCompile(`^(\\)?[),\]>\s].*`)

// add appends s to the current buffer text.
func (r *renderer) add(s string) {
Expand Down

0 comments on commit 26c7439

Please sign in to comment.