Index: README.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/footnotes/Attic/README.txt,v retrieving revision 1.1.2.2 diff -u -p -r1.1.2.2 README.txt --- README.txt 12 Jun 2006 19:28:52 -0000 1.1.2.2 +++ README.txt 11 Jul 2006 13:20:49 -0000 @@ -21,8 +21,14 @@ INSTALL INSTRUCTIONS FOR FOOTNOTES.MODUL 4. To use the footnotes filter in some input formats, go to administer->input formats. 5. For selected input formats, select configure and activate a suitable footnotes filter. -Note: Typically you want the footnotes filter to be pretty early in the chain. + +ORDERING THE FOOTNOTES FILTER +---- + +Typically you want the footnotes filter to be pretty early in the chain. For instance the Footnotes Textile style filter outputs Textile markup, so it should definitively be before your Textile filter. If you need to lift the Footnotes filter higher up, click "rearrange". +1) Footnotes and the Line break convertor: +The line break convertor should come before Footnotes . 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 13:20:50 -0000 @@ -141,6 +141,13 @@ function _footnotes_replace_callback( $m if( $n > 0 ) { $str = '
    '; for( $m = 1; $m <= $n; $m++ ){ + $test_p = preg_replace('//', '', $store_matches[ $m - 1 ]); + if (strstr($test_p, '

    ')) { + $store_matches[ $m - 1 ] = $store_matches[ $m - 1 ].'

    '; + } + if (strstr($test_p, '

    ')) { + $store_matches[ $m - 1 ] = '

    '.$store_matches[ $m - 1 ]; + } $str .= '

  1. ' . $store_matches[ $m - 1 ] . "
  2. \n\n"; } $str .= '
';