How to alter the render after a post?
I am writing a plugin that replaces text matching a certain pattern in a discussion or comment body before render. So the basic idea is, if a body contains a pattern, that pattern will be stored in the database but will appear as something else entirely.
For new page loads, this is working great using DiscussionController_BeforeDiscussionRender. However, I am having trouble finding what to hook to do these substitutions immediately after posting a comment. Changing any of the 'body' fields I can find in Senders from PostController_BeforeCommentRender, _BeforeCommentsRender, and _AfterCommentSave has no effect on the ajax'd output after posting a new comment.