From 63f1fb4259402bf2b53097d2525878a2f6daa8c4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 15:52:38 -0400 Subject: store rendered content on save; display pre-rendered content darcs-hash:20080709195238-84dde-a5df98439faaf7058571b5e345f165adece9c7b8.gz --- actions/newnotice.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions/newnotice.php') diff --git a/actions/newnotice.php b/actions/newnotice.php index 3abe875d5..de040ef77 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -53,6 +53,8 @@ class NewnoticeAction extends Action { return; } + $notice->rendered = common_render_content($notice->content, $notice); + $id = $notice->insert(); if (!$id) { -- cgit v1.2.3-54-g00ecf