MCPcopy Create free account
hub / github.com/sql-js/sql.js / escape

Function escape

documentation/javascript/application.js:151–153  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

149 /* Utility functions */
150
151 function escape(value) {
152 return value.replace(/&/gm, '&amp;').replace(/</gm, '&lt;');
153 }
154
155 function langRe(language, value, global) {
156 return RegExp(

Callers 7

openFunction · 0.85
mergeStreamsFunction · 0.85
processKeywordsFunction · 0.85
startNewModeFunction · 0.85
processModeInfoFunction · 0.85
highlightFunction · 0.85
highlightAutoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…