|
From: Bart v. B. <ba...@us...> - 2002-02-17 16:05:22
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv5884
Modified Files:
bbcode.php
Log Message:
Fixed #506066, [img] didn't work with multiple instances directly following each other
Index: bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/bbcode.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** bbcode.php 12 Feb 2002 17:55:52 -0000 1.31
--- bbcode.php 17 Feb 2002 16:05:18 -0000 1.32
***************
*** 278,282 ****
// [img]image_url_here[/img] code..
! $text = preg_replace("#\[img\](([a-z]+?)://([^, \n\r]+))\[/img\]#si", "[img:$uid]\\1[/img:$uid]", $text);
// Remove our padding from the string..
--- 278,282 ----
// [img]image_url_here[/img] code..
! $text = preg_replace("#\[img\](([a-z]+?)://([^ \n\r]+?))\[/img\]#si", "[img:$uid]\\1[/img:$uid]", $text);
// Remove our padding from the string..
***************
*** 765,767 ****
}
! ?>
\ No newline at end of file
--- 765,767 ----
}
! ?>
|