Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
139
export
function
normalize_new_line(html) {
140
return
html.replace(/\r\n/g,
'\n'
);
141
}
142
143
/**
144
* @param {string} actual
Callers
1
assert_html_equal_with_options
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected