This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
mobilizon
mirror of
https://framagit.org/framasoft/mobilizon.git
Watch
1
Star
0
Fork
You've already forked mobilizon
0
Code
Issues
Releases
Wiki
Activity
1a20a24301
mobilizon
/
js
/
src
/
utils
/
html.ts
4 lines
90 B
TypeScript
Raw
Blame
History
export
function
nl2br
(
text
:
string
)
{
return
text
.
replace
(
/(?:\r\n|\r|\n)/g
,
"<br>"
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink