Solved bug 1491 in all the "linking" filters.
(http://moodle.org/bugs/bug.php?op=show&bugid=1491) Bugfix 001
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
//Now avoid searching inside links
|
||||
$links = array();
|
||||
preg_match_all('/<A (.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
preg_match_all('/<A[\s](.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
foreach (array_unique($list_of_links[0]) as $key=>$value) {
|
||||
$links['<@'.$key.'@>'] = $value;
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
|
||||
//Now avoid searching inside links
|
||||
$links = array();
|
||||
preg_match_all('/<A (.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
preg_match_all('/<A[\s](.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
foreach (array_unique($list_of_links[0]) as $key=>$value) {
|
||||
$links['<@'.$key.'@>'] = $value;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
//Now avoid searching inside links
|
||||
$links = array();
|
||||
preg_match_all('/<A (.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
preg_match_all('/<A[\s](.+?)>(.+?)<\/A>/is',$text,$list_of_links);
|
||||
foreach (array_unique($list_of_links[0]) as $key=>$value) {
|
||||
$links['<@'.$key.'@>'] = $value;
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<?PHP //$Id
|
||||
<?PHP //$Id$
|
||||
//This file returns the required rss feeds
|
||||
//The URL format MUST include:
|
||||
// course: the course id
|
||||
|
||||
+2
-3
@@ -7,7 +7,6 @@
|
||||
|
||||
$version = 2004052500; // The current version is a date (YYYYMMDDXX)
|
||||
|
||||
$release = "1.3 Stable"; // User-friendly version number
|
||||
|
||||
|
||||
$release = "1.3 Stable (001)"; // User-friendly version number
|
||||
// Bugfix sequence number between brackets
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user