GIT problems ...
This commit is contained in:
parent
0409b5cdba
commit
484a442f2b
9
include/bbcode.php
Executable file → Normal file
9
include/bbcode.php
Executable file → Normal file
|
@ -194,11 +194,7 @@ function bbcode($Text,$preserve_nl = false) {
|
||||||
// Check for [quote] text
|
// Check for [quote] text
|
||||||
// handle nested quotes
|
// handle nested quotes
|
||||||
$endlessloop = 0;
|
$endlessloop = 0;
|
||||||
<<<<<<< HEAD
|
|
||||||
while ((strpos($Text, "[/quote]") !== false) and (strpos($Text, "[quote]") !== false) and (++$endlessloop < 20))
|
while ((strpos($Text, "[/quote]") !== false) and (strpos($Text, "[quote]") !== false) and (++$endlessloop < 20))
|
||||||
=======
|
|
||||||
while (strpos($Text, "[/quote]") !== false and strpos($Text, "[quote]") !== false and (++$endlessloop < 20))
|
|
||||||
>>>>>>> upstream/master
|
|
||||||
$Text = preg_replace("/\[quote\](.*?)\[\/quote\]/ism","$QuoteLayout", $Text);
|
$Text = preg_replace("/\[quote\](.*?)\[\/quote\]/ism","$QuoteLayout", $Text);
|
||||||
|
|
||||||
// Check for [quote=Author] text
|
// Check for [quote=Author] text
|
||||||
|
@ -207,11 +203,7 @@ function bbcode($Text,$preserve_nl = false) {
|
||||||
|
|
||||||
// handle nested quotes
|
// handle nested quotes
|
||||||
$endlessloop = 0;
|
$endlessloop = 0;
|
||||||
<<<<<<< HEAD
|
|
||||||
while ((strpos($Text, "[/quote]")!== false) and (strpos($Text, "[quote=") !== false) and (++$endlessloop < 20))
|
while ((strpos($Text, "[/quote]")!== false) and (strpos($Text, "[quote=") !== false) and (++$endlessloop < 20))
|
||||||
=======
|
|
||||||
while (strpos($Text, "[/quote]") !== false and strpos($Text, "[quote=") !== false and (++$endlessloop < 20))
|
|
||||||
>>>>>>> upstream/master
|
|
||||||
$Text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism",
|
$Text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism",
|
||||||
"<blockquote><strong>" . $t_wrote . "</strong> $2</blockquote>",
|
"<blockquote><strong>" . $t_wrote . "</strong> $2</blockquote>",
|
||||||
$Text);
|
$Text);
|
||||||
|
@ -293,3 +285,4 @@ function bbcode($Text,$preserve_nl = false) {
|
||||||
|
|
||||||
return $Text;
|
return $Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue