Inline image record title is doubly escaped
Running TYPO3 9.5.7.Steps to reproduce:
- On a TYPO3 page, add a new "Images Only" content element.
- In the "Images" tab, add a new image and give it the title "<".
The inline record in the "Images" tab shows "<" after "Title" in the inline record's header.
After "Title", "<" is displayed. Screenshot attached.
InlineRecordContainer::renderForeignRecordHeader is passed HTML in $data['recordTitle'], which it then escapes again.
TYPO3 6.2 is affected as well, so probably all versions in between are too.