[ticket/12501] Fix improper display of inline attachments in post report page

https://tracker.phpbb.com/browse/PHPBB3-12501