Index: auto_nodetitle.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/auto_nodetitle/auto_nodetitle.module,v
retrieving revision 1.8
diff -u -r1.8 auto_nodetitle.module
--- auto_nodetitle.module	13 Jan 2007 20:06:19 -0000	1.8
+++ auto_nodetitle.module	30 Jan 2007 16:15:09 -0000
@@ -123,7 +123,7 @@
   */
 function _auto_nodetitle_patternprocessor($output, $node) {
   if (module_exists('token')) {
-    $output = token_replace($output, 'node', $node);
+    $output = strip_tags(token_replace($output, 'node', $node));
   }
   if (variable_get('ant_php_'. $node->type, 0)) {
     $output = drupal_eval($output);
