We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5335b14 commit 520c45aCopy full SHA for 520c45a
pkg/inserter/common_inserter.go
@@ -72,7 +72,7 @@ func (c *CommonInserter) replaceMultiRefs(src string, reg *regexp.Regexp) string
72
return ""
73
}
74
for _, m := range ms {
75
- refID := strings.TrimSuffix(strings.TrimPrefix(m, "#{"), "}")
+ refID := m[2 : len(m)-1]
76
rv, ok := c.refIDs[refID]
77
if !ok {
78
log.Printf("%s was not found", refID)
0 commit comments