Skip to content

Commit f08379b

Browse files
nolanlawsonwjhsf
andauthored
Update packages/@lwc/ssr-runtime/src/render-text-content.ts
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
1 parent a38efdd commit f08379b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@lwc/ssr-runtime/src/render-text-content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { htmlEscape } from '@lwc/shared';
1212
* not the concatenated result of multiple adjacent text nodes.
1313
* @param value
1414
*/
15-
export function massageTextContent(value: unknown): string {
15+
export function normalizeTextContent(value: unknown): string {
1616
// Using non strict equality to align with original implementation (ex. undefined == null)
1717
// See: https://github.com/salesforce/lwc/blob/348130f/packages/%40lwc/engine-core/src/framework/api.ts#L548
1818
return value == null ? '' : String(value);

0 commit comments

Comments
 (0)