Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

+17 -4
View File
@@ -3,18 +3,18 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* BBCode parsing core - common methods
* Last Updated: $Date: 2013-05-28 10:00:25 -0400 (Tue, 28 May 2013) $
* Last Updated: $Date: 2014-12-31 17:46:06 -0500 (Wed, 31 Dec 2014) $
* </pre>
*
* @author $Author: AndyMillne $
* @author $Author: rashbrook $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @link http://www.invisionpower.com
* @since 9th March 2005 11:03
* @version $Revision: 12273 $
* @version $Revision: 12581 $
*
* Basic usage examples
* <code>
@@ -1301,6 +1301,19 @@ class class_bbcode_core
$this->noParseStorage = array();
//-----------------------------------------
// Line Break Replacements
//-----------------------------------------
if ( substr( $txt, 0, 3 ) != '<p>' AND !empty( $txt ) )
{
$txt = '<p>' . $txt . '</p>';
if ( strpos( $txt, "<br />\n<br />" ) !== FALSE )
{
$txt = str_replace( "<br />\n<br />", '</p><p>&nbsp;</p><p>', $txt );
}
}
//-----------------------------------------
// Badwords
//-----------------------------------------