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:
stronk7
2004-05-30 00:28:52 +00:00
parent 12f18ea1ab
commit 99dac04aeb
5 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
?>