MCPcopy
hub / github.com/teadocs/numpy-cn / replaceSpec

Method replaceSpec

scripts/htmlToMd.js:323–328  ·  view source on GitHub ↗
($el)

Source from the content-addressed store, hash-verified

321 }
322
323 replaceSpec($el) {
324 let that = this;
325 let hContent = $el.prop("outerHTML");
326 hContent = hContent.replace(/\*/g, '\\*');
327 return hContent;
328 }
329
330 uReplaceStr(str) {
331 return str.replace(/(^\n*)|(\n*$)/g, "").replace(/(^\s*)|(\s*$)/g, "");

Callers 1

getPcontentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected