Skip to content

@morph-mapper/source


@morph-mapper/source / replaceEscapedCharacter

Function: replaceEscapedCharacter() ​

replaceEscapedCharacter(text): string

Defined in: parsing.ts:45

This function is used to replace escaped characters in a string. It is used so that user input does not result in incorrectly rendered template code.

Parameters ​

text ​

string

Returns ​

string