1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Restore some of the line break handling - ensures tables display properly

This commit is contained in:
e107steved
2009-01-23 21:18:37 +00:00
parent c3520eca3b
commit 50b3654422

View File

@@ -9,9 +9,9 @@
* Text processing and parsing functions * Text processing and parsing functions
* *
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $ * $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
* $Revision: 1.49 $ * $Revision: 1.50 $
* $Date: 2009-01-08 21:47:44 $ * $Date: 2009-01-23 21:18:37 $
* $Author: mcfly_e107 $ * $Author: e107steved $
* *
*/ */
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
@@ -874,13 +874,11 @@ class e_parse
// Could put tag stripping in here // Could put tag stripping in here
/* // Line break compression - filter white space after HTML tags - among other things, ensures HTML tables display properly
// Line break compression - filter white space after HTML tags
if (!$opts['nobreak']) if (!$opts['nobreak'])
{ {
$sub_blk = preg_replace("#>\s*[\r]*\n[\r]*#", ">", $sub_blk); $sub_blk = preg_replace("#>\s*[\r]*\n[\r]*#", ">", $sub_blk);
} }
*/
// Link substitution // Link substitution
// Convert URL's to clickable links, unless modifiers or prefs override // Convert URL's to clickable links, unless modifiers or prefs override