Test implementation of my account page
This commit is contained in:
3
js/src/utils/html.ts
Normal file
3
js/src/utils/html.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function nl2br(text: string) {
|
||||
return text.replace(/(?:\r\n|\r|\n)/g, '<br>');
|
||||
}
|
||||
Reference in New Issue
Block a user