I want to do a kind of custom parsing of certain bbcode tags and replace them with images which are created by the server using tex-live engine for lateX. I succeeded in doing that inside function generate_text_for_display (file functions_content.php) where I replaced the bbcode with the image I wanted.The problem is that although this "custom bbcode parsing" I did works fine on viewtopic,it doesn't work on preview mode. So I was wondering,what do I have to do in order to modify the text BEFORE it is displayed in preview mode?I was assuming that the function generate_text_for_display was used for preview as well but it appears it isn't.
Thanks in advance,
George