diff --git a/kythe/go/util/markedsource/markedsource.go b/kythe/go/util/markedsource/markedsource.go index 7fa4653ee7..3c49e2daba 100644 --- a/kythe/go/util/markedsource/markedsource.go +++ b/kythe/go/util/markedsource/markedsource.go @@ -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) {