Improve inline link/image display, move to $renderedContent method for messages