MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / html

Method html

src/main/java/fielded/TextUtils.java:31–34  ·  view source on GitHub ↗

make a string safe for inclusion in HTML

(String s)

Source from the content-addressed store, hash-verified

29 * make a string safe for inclusion in HTML
30 */
31 static public String html(String s)
32 {
33 return s.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;");
34 }
35
36
37}

Callers 11

cleanMethod · 0.95
appendRemoteOutputToLineFunction · 0.45
serializeAllOutputFunction · 0.45
helpbox.jsFile · 0.45
setHelpBoxFunction · 0.45
selectTabFunction · 0.45
setTabContentToFunction · 0.45
status.jsFile · 0.45
setStatusFunction · 0.45
testFunction · 0.45

Calls 1

replaceMethod · 0.80

Tested by 1

testFunction · 0.36