replace n with <br> issue
-
New Pligger
replace n with <br> issue
Similar to this issue... http://forums.pligg.com/questions-co...mb-module.html
If you are having trouble with the Story Preview where any 'n' character is being stripped in the preview window and looking like a carriage return...
Try editing the submit_step_2.tpl file in the wistie template folder. Near the bottom of this file look for the following line of code
$('#lp-bodytext').html($('#lp-bodytext').html().replace(/n/g,'<br />'));
and replace it with
$('#lp-bodytext').html($('#lp-bodytext').html().replace(/\n/g,'<br />'));
This fixed the issue for me.
Similar Threads
-
By jono123 in forum Questions & Comments
Replies: 2
Last Post: 08-06-2011, 04:25 PM
-
By manutd81 in forum Questions & Comments
Replies: 3
Last Post: 04-13-2010, 10:30 AM
-
By djmixes in forum Questions & Comments
Replies: 3
Last Post: 06-01-2009, 03:22 PM
-
By acidrain in forum Questions & Comments
Replies: 0
Last Post: 06-27-2008, 09:13 AM
-
By sexysources in forum Questions & Comments
Replies: 0
Last Post: 12-17-2006, 04:14 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules