Skip to content

Commit c543abb

Browse files
committed
Replace new lines
1 parent d29fc80 commit c543abb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/database/adapters/LogAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class LogAdapter {
119119
id: entityObject.id,
120120
userId: entityObject.userId,
121121
title: entityObject.title,
122-
text: entityObject.text,
122+
text: entityObject.text.replace(/\\n/g, '\n'),
123123
tags: entityObject.tags,
124124
environments: entityObject.environments,
125125
lhcFills: entityObject.lhcFills,

0 commit comments

Comments
 (0)