func (m *Post) GetContentCache() string { if setting.RealtimeRenderMD { return utils.RenderMarkdown(m.Content) } else { return m.ContentCache } }
func (m *Comment) GetMessageCache() string { if setting.RealtimeRenderMD { return utils.RenderMarkdown(m.Message) } else { return m.MessageCache } }