We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38efdd commit f08379bCopy full SHA for f08379b
packages/@lwc/ssr-runtime/src/render-text-content.ts
@@ -12,7 +12,7 @@ import { htmlEscape } from '@lwc/shared';
12
* not the concatenated result of multiple adjacent text nodes.
13
* @param value
14
*/
15
-export function massageTextContent(value: unknown): string {
+export function normalizeTextContent(value: unknown): string {
16
// Using non strict equality to align with original implementation (ex. undefined == null)
17
// See: https://github.com/salesforce/lwc/blob/348130f/packages/%40lwc/engine-core/src/framework/api.ts#L548
18
return value == null ? '' : String(value);
0 commit comments