[ticket/11641] generate_text_for_display on mcp/mcp_pm_reports.php

sub-task of ticket PHPBB3-11635:
find and fix all bypasses of generate_text_for_*

PHPBB3-11641
[ticket/11641] Use $parse_flags

sub-task of ticket PHPBB3-11635:
find and fix all bypasses of generate_text_for_*

PHPBB3-11641
Merge remote-tracking branch 'brunoais/ticket/11641' into develop

* brunoais/ticket/11641:
  [ticket/11641] Use $parse_flags
  [ticket/11641] generate_text_for_display on mcp/mcp_pm_reports.php