diff --git a/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php b/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php index c8adfc4f2ea5753374f3205241590b0c5a7a12d1..89f33aee50258dc504ee3b943b5165b4759ddb81 100644 --- a/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php +++ b/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php @@ -204,7 +204,7 @@ class RteFileLinksUpdateWizard extends AbstractUpdate { if ($fileObject instanceof \TYPO3\CMS\Core\Resource\AbstractFile) { // Next, match the reference path in the content to be sure it's present inside a <link> tag $content = $record[$reference['field']]; - $regularExpression = '$<(link ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$'; + $regularExpression = '$<((link|LINK) ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$'; $matches = array(); $result = preg_match($regularExpression, $content, $matches); if ($result) {