From: <vb...@us...> - 2002-09-24 06:14:43
|
Update of /cvsroot/webnotes/webnotes In directory usw-pr-cvs1:/tmp/cvs-serv13329 Modified Files: note_preview_page.php Log Message: - Changed the preserving of spaces to be only done when the spaces are at the beginning of a line (string_preserve_spaces_at_bol()). - Added string_prepare_note_for_viewing() to be used from viewing/previewing. Index: note_preview_page.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/note_preview_page.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- note_preview_page.php 22 Sep 2002 02:47:16 -0000 1.9 +++ note_preview_page.php 24 Sep 2002 06:14:39 -0000 1.10 @@ -37,7 +37,7 @@ $t_note['id'] = '0'; $t_note['email']= $f_email; $t_note['date'] = date ($g_date_format); - $t_note['note'] = $f_note; + $t_note['note'] = string_prepare_note_for_viewing( $f_note, false ); $t_page_data = array(); $t_page_data['id'] = 0; |