This website requires JavaScript.
Explore
Help
Sign In
potsda.mn
/
mobilizon
Watch
10
Star
4
Fork
You've already forked mobilizon
1
Code
Issues
22
Pull requests
1
Projects
Releases
Wiki
Activity
fb90a1a143
mobilizon
/
js
/
src
/
utils
/
html.ts
4 lines
90 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Test implementation of my account page
2019-04-26 15:22:16 +02:00
export
function
nl2br
(
text
:
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
}
Reference in a new issue
Copy permalink