|
From: Jonathan H. <the...@us...> - 2002-04-08 15:36:21
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv20637
Modified Files:
Tag: phpBB-2_0_0
bbcode.php
Log Message:
Ok one more try at this one...
Index: bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/bbcode.php,v
retrieving revision 1.36.2.1
retrieving revision 1.36.2.2
diff -C2 -r1.36.2.1 -r1.36.2.2
*** bbcode.php 8 Apr 2002 15:02:24 -0000 1.36.2.1
--- bbcode.php 8 Apr 2002 15:36:17 -0000 1.36.2.2
***************
*** 434,438 ****
$match = array("pos" => $curr_pos, "tag" => $which_start_tag, "index" => $start_tag_index);
bbcode_array_push($stack, $match);
! ++$curr_pos;
}
else
--- 434,444 ----
$match = array("pos" => $curr_pos, "tag" => $which_start_tag, "index" => $start_tag_index);
bbcode_array_push($stack, $match);
! //
! // 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
|