Index: chessboard.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/chessboard/chessboard.module,v
retrieving revision 1.83
diff -u -p -r1.83 chessboard.module
--- chessboard.module	6 Feb 2011 12:55:18 -0000	1.83
+++ chessboard.module	13 Feb 2011 13:52:25 -0000
@@ -72,23 +72,3 @@ function chessboard_theme() {
     ),
   );
 }
-
-function _chessboard_formatter_view($items) {
-  $element = array(
-    '#attached' => array(
-      'css' => array(
-        drupal_get_path('module', 'chessboard') . '/chessboard.css' => array('media' => 'all', 'preprocess' => FALSE),
-      ),
-    ),
-  );
-  foreach ($items as $delta => $item) {
-    $element[$delta] = array(
-      '#theme' => 'chessboard',
-      '#item' => $item,
-      '#prefix' => '<div class="chessboard">',
-      '#suffix' => '</div>',
-      '#weight' => $delta,
-    );
-  }
-  return $element;
-}
Index: chessboard_filter/chessboard_filter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/chessboard/chessboard_filter/chessboard_filter.module,v
retrieving revision 1.1
diff -u -p -r1.1 chessboard_filter.module
--- chessboard_filter/chessboard_filter.module	6 Feb 2011 12:55:18 -0000	1.1
+++ chessboard_filter/chessboard_filter.module	13 Feb 2011 13:52:25 -0000
@@ -182,7 +182,7 @@ function _chessboard_filter_callback($ma
   $field = array();
   $items = array($item);
   chessboard_field('sanitize', $node, $field, $items, FALSE, FALSE);
-  $element = _chessboard_formatter_view($items);
+  $element = _chessboard_filter_formatter_view($items);
   $output = drupal_render($element);
   if (isset($element['#attached']) && filter_format_allowcache($filter->format)) {
     // Store attached structures so we can process these when cached filtered text is being output.
@@ -201,6 +201,26 @@ function _chessboard_filter_callback($ma
   return $output;
 }
 
+function _chessboard_filter_formatter_view($items) {
+  $element = array(
+    '#attached' => array(
+      'css' => array(
+        drupal_get_path('module', 'chessboard') . '/chessboard.css' => array('media' => 'all', 'preprocess' => FALSE),
+      ),
+    ),
+  );
+  foreach ($items as $delta => $item) {
+    $element[$delta] = array(
+      '#theme' => 'chessboard',
+      '#item' => $item,
+      '#prefix' => '<div class="chessboard">',
+      '#suffix' => '</div>',
+      '#weight' => $delta,
+    );
+  }
+  return $element;
+}
+
 function _chessboard_filter_page_structures_list_cids($formats) {
   $cids = array();
   foreach ($formats as $format) {
