mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 12:22:28 +08:00
Fix tee_muxer input
This commit is contained in:
@@ -94,7 +94,7 @@ func replace(what, placeholder, value string) string {
|
|||||||
if matches[2] != `\` {
|
if matches[2] != `\` {
|
||||||
v = strings.ReplaceAll(v, `\`, `\\`)
|
v = strings.ReplaceAll(v, `\`, `\\`)
|
||||||
}
|
}
|
||||||
v = strings.ReplaceAll(v, matches[2], `\`+matches[2])
|
v = strings.ReplaceAll(v, matches[2], `\\`+matches[2])
|
||||||
}
|
}
|
||||||
|
|
||||||
return strings.Replace(match, match, v, 1)
|
return strings.Replace(match, match, v, 1)
|
||||||
|
Reference in New Issue
Block a user