summaryrefslogtreecommitdiff
path: root/resources/js/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/helpers.js')
-rw-r--r--resources/js/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/helpers.js b/resources/js/helpers.js
index bceaf5e..aa149b1 100644
--- a/resources/js/helpers.js
+++ b/resources/js/helpers.js
@@ -19,7 +19,7 @@ function slugToName (slug) {
* @returns {string}
*/
function nl2br (text) {
- return text.replace(new RegExp(/\\n/g), '<br>');
+ return text.replace(new RegExp(/\\n/g), '<br><br>');
}
/**