? diff
? footnote.tooltip.diff
Index: footnotes.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/footnotes/Attic/footnotes.module,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 footnotes.module
--- footnotes.module 25 Jun 2006 18:58:21 -0000 1.1.2.3
+++ footnotes.module 11 Jul 2006 14:39:50 -0000
@@ -153,7 +153,10 @@ function _footnotes_replace_callback( $m
//default op: act as called by preg_replace_callback()
array_push( $store_matches, $matches[1] );
$n++;
- return '';
+ $allowed_tags = array();
+ $title = filter_xss($matches[1], $allowed_tags);
+ $title = str_replace('"', "'", $title);
+ return '';
}
/**