MCPcopy Create free account
hub / github.com/dropbox/hackpad / toHTML

Function toHTML

infrastructure/framework-src/modules/stringutils.js:329–361  ·  view source on GitHub ↗

* This function is used by print(...) to convert a string or object * into nice-looking printable HTML. It may be useful in conjunction * with html(...) if you wish to work directly with HTML. * * You can control how toHTML(...) (and therefore print(...)) behave on an object * by giving tha

(x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_coerceObjectToHTMLFunction · 0.70
_arrayToHTMLFunction · 0.70
_likeObjectsToHTMLFunction · 0.70

Calls 9

_stringToHTMLFunction · 0.85
_arrayToHTMLFunction · 0.85
_coerceObjectToHTMLFunction · 0.85
getInstanceMethod · 0.80
splitMethod · 0.80
equalsMethod · 0.45
toSourceMethod · 0.45
toStringMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected