Skip to content

Commit afce006

Browse files
committed
fix: enable client parser to retain carriage return characters
1 parent b4cac40 commit afce006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function formatTagName(tagName: string): string {
5858
* @returns - Text with escaped characters reverted.
5959
*/
6060
function revertEscapedCharacters(text: string): string {
61-
return text.replace(/\\r/g, '\r').replace(/\\n/g, '\n');
61+
return text.replace(/\\r/g, '\r');
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)