mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Ok one more try at this one...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2520 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4db7332c9d
commit
c5837dafef
1 changed files with 7 additions and 1 deletions
|
@ -433,7 +433,13 @@ function bbencode_first_pass_pda($text, $uid, $open_tag, $close_tag, $close_tag_
|
||||||
// Push its position, the text we matched, and its index in the open_tag array on to the stack, and then keep going to the right.
|
// Push its position, the text we matched, and its index in the open_tag array on to the stack, and then keep going to the right.
|
||||||
$match = array("pos" => $curr_pos, "tag" => $which_start_tag, "index" => $start_tag_index);
|
$match = array("pos" => $curr_pos, "tag" => $which_start_tag, "index" => $start_tag_index);
|
||||||
bbcode_array_push($stack, $match);
|
bbcode_array_push($stack, $match);
|
||||||
++$curr_pos;
|
//
|
||||||
|
// Rather than just increment $curr_pos
|
||||||
|
// Set it to the ending of the tag we just found
|
||||||
|
// Keeps error in nested tag from breaking out
|
||||||
|
// of table structure..
|
||||||
|
//
|
||||||
|
$curr_pos = curr_pos + strlen($possible_start);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue