MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / escape

Function escape

tests/cppunit/htmloutput.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 string
57 escape(string value)
58 {
59 strreplace(value, '&', "&");
60 strreplace(value, '<', "&lt;");
61 strreplace(value, '>', "&gt;");
62 strreplace(value, '"', "&quot;");
63 strreplace(value, '\'', "&#39;");
64 return value;
65 }
66
67 void
68 header(ostream& os, string name)

Callers 5

headerFunction · 0.70
back_refFunction · 0.70
sub_titleFunction · 0.70
table_headerFunction · 0.70
table_entryFunction · 0.70

Calls 1

strreplaceFunction · 0.85

Tested by

no test coverage detected