MCPcopy
hub / github.com/webpack/webpack / adjustSvgTag

Function adjustSvgTag

lib/html/syntax.js:5241–5242  ·  view source on GitHub ↗
(/** @type {string} */ name)

Source from the content-addressed store, hash-verified

5239 };
5240
5241 const adjustSvgTag = (/** @type {string} */ name) =>
5242 /** @type {Record<string, string>} */ (SVG_TAG_ADJUST)[name] || name;
5243 const adjustForeignAttrs = (
5244 /** @type {HtmlAttribute[]} */ attrs,
5245 /** @type {number} */ ns

Callers 1

foreignContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected