This website requires JavaScript.
Explore
Help
Sign In
Chapril
/
mobilizon.chapril.org-mobilizon
Watch
25
Star
0
Fork
0
You've already forked mobilizon.chapril.org-mobilizon
Code
Issues
Pull Requests
Releases
Activity
bad8c779f8
mobilizon.chapril.org-mobil...
/
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
}
Copy Permalink