--- sidecontent.module.bak      2005-09-29 20:44:35.000000000 +1000
+++ sidecontent.module  2005-09-29 20:44:29.000000000 +1000
@@ -54,7 +54,11 @@
 
         if ($sidecontent->sidecontent) {
           $block['subject'] = check_plain(variable_get('sidecontent_title', NULL));
-          $block['content'] = check_output($sidecontent->sidecontent, $sidecontent->format);
+          if (function_exists(check_markup)) {
+            $block['content'] = check_markup($sidecontent->sidecontent, $sidecontent->format);
+          } else {
+            $block['content'] = check_output($sidecontent->sidecontent, $sidecontent->format);
+          }
           return $block;
         }
         break;
@@ -121,10 +125,14 @@
             break;
         case 'update index':
             if (!variable_get('sidecontent_'. $node->type, 1)) break;
-            $text .= check_output($node->sidecontent, $node->format_sidecontent);
+            if (function_exists(check_markup)) {
+              $text .= check_markup($node->sidecontent, $node->format_sidecontent);
+            } else {
+              $text .= check_output($node->sidecontent, $node->format_sidecontent);
+            }
             return $text;
     }
-}
+}                                                                                                                                                                                    
 
 
 ?>