Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/svg/svgo
/ stringifyComment
Function
stringifyComment
lib/stringifier.js:174–176 ·
view source on GitHub ↗
(node, config)
Source
from the content-addressed store, hash-verified
172
* @returns {string}
173
*/
174
const
stringifyComment = (node, config) => {
175
return
config.commentStart + node.value + config.commentEnd;
176
};
177
178
/**
179
* @param {
import
(
'./types.js'
).XastCdata} node
Callers
1
stringifyNode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected