Browse Source

minor update

pull/141/head
abhidj0090 4 years ago
parent
commit
3c35882ec4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      assets/js/script.js

+ 1
- 0
assets/js/script.js View File

var subject = $('#subject').val(); var subject = $('#subject').val();
var description = $('#description').val(); var description = $('#description').val();
//description = $('.post-single-content').html(); //description = $('.post-single-content').html();
description = description.replace(/\n/g , '\\n');
description = description.replace(/\r\n/g , '\\n'); description = description.replace(/\r\n/g , '\\n');
description = description.replace(/<br>/g , '\\n'); description = description.replace(/<br>/g , '\\n');
var location = $('#location').val(); var location = $('#location').val();

Loading…
Cancel
Save