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