fix: Erroneous navigation with long filenames in footnote links (#1723)
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#define FOOTNOTE_NUMBER_LEN 32
|
||||
#define FOOTNOTE_HREF_LEN 96
|
||||
|
||||
struct FootnoteEntry {
|
||||
char number[24];
|
||||
char href[64];
|
||||
char number[FOOTNOTE_NUMBER_LEN];
|
||||
char href[FOOTNOTE_HREF_LEN];
|
||||
|
||||
FootnoteEntry() {
|
||||
number[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user