@@ -1,3 +1,3 @@
|
||||
export function nl2br(text: string) {
|
||||
export function nl2br(text: string): string {
|
||||
return text.replace(/(?:\r\n|\r|\n)/g, "<br>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user