returnt('You can insert footnotes directly into texts with <code><fn>This text becomes a footnote.</fn></code>. This will be replaced with a running number (the footnote reference) and the text within the <fn> tags will be moved to the bottom of the page (the footnote).');
}
else{
returnt('Use <fn>...</fn> to insert automatically numbered footnotes.');
}
break;
case1:
if($long){
returnt('You can insert footnotes directly into texts with [# ...]. This will be replaced with a running number (the footnote reference) and the text within the [# ...] tags will be moved to the bottom of the page (the footnote). <em>This filter outputs footnotes in Textile format. You should use it together and before the Textile filter.');
}
else{
returnt('Use [# ...] to insert automatically numbered footnotes. Textile variant.');
}
break;
}
}
/**
* Implementation of hook_filter().
*
* The bulk of filtering work is done here. This hook is quite complicated, so