mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
case changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39058 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
aa5d463b8b
commit
32995ceadc
@ -205,7 +205,7 @@ class Convert extends Object {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
// Expand hyperlinks
|
// Expand hyperlinks
|
||||||
if( !$preserveLinks && !$config['PreserveLink']) {
|
if( !$preserveLinks && !isset($config['PreserveLink'])) {
|
||||||
$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
|
$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
|
||||||
$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
|
$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user