diff --git a/module/file/model.php b/module/file/model.php index 8f8981da81..64f1440918 100644 --- a/module/file/model.php +++ b/module/file/model.php @@ -832,7 +832,7 @@ class fileModel extends model if(isset($this->config->file->convertURL['common'][$methodName]) or isset($this->config->file->convertURL[$moduleName][$methodName])) { $fieldData = $data->$field; - preg_match_all('/(]*>[^<]*<\/a>)/i', $fieldData, $aTags); + preg_match_all('/(]*>.*<\/a>)/Ui', $fieldData, $aTags); preg_match_all('/(]*>)/i', $fieldData, $imgTags); preg_match_all('/(]*>[^<]*<\/iframe>)/i', $fieldData, $iframeTags);