mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Bugfix: internal link detection was failing. Also added support for [link=url rel=internal] for overriding default preference.
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/bbcode_handler.php,v $
|
||||
| $Revision: 1.12 $
|
||||
| $Date: 2007-11-13 07:34:40 $
|
||||
| $Revision: 1.13 $
|
||||
| $Date: 2007-11-13 07:38:55 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -66,6 +66,7 @@ class e_bbcode
|
||||
global $postID;
|
||||
$postID = $p_ID;
|
||||
|
||||
|
||||
if (strlen($value) <= 6) return $value; // Don't waste time on trivia!
|
||||
if ($force_lower == 'default') $force_lower = TRUE; // Set the default behaviour if not overridden
|
||||
$code_stack = array(); // Stack for unprocessed bbcodes and text
|
||||
@@ -254,7 +255,8 @@ class e_bbcode
|
||||
{
|
||||
global $tp, $postID, $code_text, $parm;
|
||||
$parm = $param1;
|
||||
$code_text = $tp->replaceConstants($code_text_par);
|
||||
|
||||
$code_text = $code_text_par;
|
||||
|
||||
if (E107_DEBUG_LEVEL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user