MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / String

Function String

internal/htmlsanitize/htmlsanitize.go:13–15  ·  view source on GitHub ↗

String escapes text before it is returned to browser-facing management clients.

(value string)

Source from the content-addressed store, hash-verified

11
12// String escapes text before it is returned to browser-facing management clients.
13func String(value string) string {
14 return html.EscapeString(value)
15}
16
17// Strings escapes each string in values while preserving order.
18func Strings(values []string) []string {

Callers 12

ListPluginsMethod · 0.92
DeletePluginMethod · 0.92
pluginConfigFieldsFunction · 0.92
pluginMenusFunction · 0.92
pluginMetadataFunction · 0.92
ListPluginStoreMethod · 0.92
StringsFunction · 0.85
JSONValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected