Footnote links start with #ref-, instead of #
there are other types of '# links' that can be generated, for instance, '#section-' links
@@ -41,7 +41,7 @@ public class MarkupHelper {
* Checks if the link points to a footnote.
*/
public static boolean isFootnoteLink( final String ref ) {
- return ref.startsWith( "#" );
+ return ref.startsWith( "#ref-" );
}
/**
