? .cvsignore
? 882638-clean-tags-2.patch
? 890314-search-block-action-4.patch
? 949768-more-cck-1.patch
? SolrPhpClient
? Zend
? in-list.patch
? patch
? post.patch
? text-analyzer.xml
Index: apachesolr.index.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.index.inc,v
retrieving revision 1.1.2.30
diff -u -p -r1.1.2.30 apachesolr.index.inc
--- apachesolr.index.inc	22 Jul 2010 20:16:27 -0000	1.1.2.30
+++ apachesolr.index.inc	18 Feb 2011 02:55:26 -0000
@@ -236,7 +236,8 @@ function apachesolr_add_tags_to_document
     $tag = strtolower($tag);
     // We don't want to index links auto-generated by the url filter.
     if ($tag != 'a' || !preg_match('@(?:http://|https://|ftp://|mailto:|smb://|afp://|file://|gopher://|news://|ssl://|sslv2://|sslv3://|tls://|tcp://|udp://|www\.)[a-zA-Z0-9]+@', $matches[2][$key])) {
-      $document->{$tags_to_index[$tag]} .= ' '. $matches[2][$key];
+      // We have to clean the match in case there are nested tags.
+      $document->{$tags_to_index[$tag]} .= ' '. apachesolr_clean_text($matches[2][$key]);
     }
   }
 }
