MCPcopy
hub / github.com/sveltejs/svelte / normalize_new_line

Function normalize_new_line

packages/svelte/tests/html_equal.js:139–141  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

137 * @returns {string}
138 */
139export function normalize_new_line(html) {
140 return html.replace(/\r\n/g, '\n');
141}
142
143/**
144 * @param {string} actual

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected