This website requires JavaScript.
Explore
Help
Sign In
tommy
/
mobilizon
Watch
1
Star
0
Fork
You've already forked mobilizon
0
forked from
potsda.mn/mobilizon
Code
Pull requests
Activity
51b5108639
mobilizon
/
js
/
src
/
utils
/
html.ts
4 lines
98 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Fix eslint warnings Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-27 19:27:44 +01:00
export
function
nl2br
(
text
:
string
)
:
string
{
Introduce group basic federation, event new page and notifications Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-18 08:57:00 +01:00
return
text
.
replace
(
/(?:\r\n|\r|\n)/g
,
"<br>"
)
;
Test implementation of my account page
2019-04-26 15:22:16 +02:00
}
Copy permalink