Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_textile
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18717/plugins/serendipity_event_textile
Modified Files:
textile.php
Log Message:
textile variable scope problems
Index: textile.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_textile/textile.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- textile.php 26 Feb 2004 12:57:39 -0000 1.2
+++ textile.php 9 Jun 2004 14:11:13 -0000 1.3
@@ -14,10 +14,10 @@
_______
LICENSE
-Redistribution and use in source and binary forms, with or without
+Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-* Redistributions of source code must retain the above copyright notice,
+* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
[...1145 lines suppressed...]
}
break;
}
if ($ok == 0){
- $attr = preg_replace('/^\S*\s*/', '', $attr);
+ $textile_attr = preg_replace('/^\S*\s*/', '', $textile_attr);
$mode = 0;
}
}
- if ($mode == 1) $arr[] =
- array ('name'=>$atnm,'whole'=>$atnm.'="'.$atnm.'"','att'=>$atnm);
-
- return $arr;
+ if ($mode == 1) $textile_arr[] =
+ array ('name'=>$textile_atnm,'whole'=>$textile_atnm.'="'.$textile_atnm.'"','att'=>$textile_atnm);
+
+ return $textile_arr;
}
?>
|