Test implementation of my account page

This commit is contained in:
Chocobozzz
2019-04-26 15:22:16 +02:00
parent 69974ff745
commit 92ff05f505
27 changed files with 1200 additions and 296 deletions

3
js/src/utils/html.ts Normal file
View File

@@ -0,0 +1,3 @@
export function nl2br(text: string) {
return text.replace(/(?:\r\n|\r|\n)/g, '<br>');
}