mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-12 04:55:01 +00:00
Migrate Post to new Plugin structure
This commit is contained in:
parent
ebcb28261b
commit
5c070643a3
15 changed files with 752 additions and 0 deletions
3
backend/src/plugins/Post/util/formatContent.ts
Normal file
3
backend/src/plugins/Post/util/formatContent.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export function formatContent(str) {
|
||||
return str.replace(/\\n/g, "\n");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue