[ticket/11639] generate_text_for_display on includes/functions_posting.php

sub-task of ticket PHPBB3-11635:
find and fix all bypasses of generate_text_for_*

http://tracker.phpbb.com/browse/PHPBB3-11635

PHPBB3-11639