Bug #68561 ยป FIX-rtehtmlarea-em-transformation.6.2.patch
html/typo3_src-6.2.11/typo3/sysext/rtehtmlarea/Classes/Extension/DefaultInline.php | ||
---|---|---|
// change <strong> to <b>
|
||
$content = preg_replace('/<(\\/?)strong/i', '<$1b', $content);
|
||
// change <em> to <i>
|
||
$content = preg_replace('/<(\\/?)em([^b>]*>)/i', '<$1i$2', $content);
|
||
$content = preg_replace('/<(\\/?)em(?!b(.*?>))/i', '<$1i$2', $content);
|
||
}
|
||
return $content;
|
||
}
|