MCPcopy Create free account
hub / github.com/coder/coder / escapeMarkdownLine

Function escapeMarkdownLine

scripts/gotestsummary/main.go:473–475  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

471}
472
473func escapeMarkdownLine(value string) string {
474 return strings.NewReplacer("\r", " ", "\n", " ").Replace(value)
475}
476
477func cmpString(value, fallback string) string {
478 if value == "" {

Callers 1

renderMarkdownFunction · 0.85

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected