• Resolved rkupadhya

    (@rkupadhya)


    We’re having a strange issue where seemingly at random, certain footnotes are not working.

    We’re using (()) short codes to bracket the reference in text.

    From some testing, it seems that certain references are messing up the following reference. In the linked page, deleting the “Judson Jeffries” reference then screws up the following reference, which is currently working and is footnote 3. If I delete what is currently footnote 2, the currently screwed up footnote starts working.

    This problem seems to happen to many footnotes across the linked article. I’ll note that when the reference is not being turned into a footnote, it is preceded by a reference/footnote that is rather long and contains hyperlinks and lots of punctuations.

    In case it is helpful here is the HTML code for the first reference that screws up the next reference:

    ‘((Besenia Rodriguez, “Long Live Third World Unity! Long Live Internationalism: Huey P. Newton’s Revolutionary Intercommunalism,” <i>Souls</i> 8:3 (2006), 119-141. Huey P. Newton, “Speech Delivered at Boston College: November 18, 1970,” <i>To Die for the People: The Writings of Huey P. Newton</i>, ed. Toni Morrison (New York: Vintage, 1972), 20-38. Erik H. Erikson and Huey P. Newton, <i>In Search of Common Ground: Conversations with Erik H. Erikson and Huey P. Newton</i> (New York: W. W. Norton & Company, 1973).))’

    • This topic was modified 3 years, 7 months ago by rkupadhya.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Lol Zimmerli

    (@lolzim)

    Hi,

    I cannot see something wrong on the page you mentioned; can you tell me how to reproduce the problem?

    Thread Starter rkupadhya

    (@rkupadhya)

    Apologies, I did some fiddling and didn’t update here. The example above was fixed after I meddled with the HTML code for the post, although I couldn’t actually figure out what exactly I changed to fix it.

    You can find other examples of the error by Ctrl+F “((” to see in the post where the shortcode is not working.

    After some testing my hunch is that it is something to do with some setting of the footnotes plugin, since this problem wasn’t happening a few months ago, specifically something about how the footnotes code reads the HTML code. Any insights into how the plugin may interact oddly with HTML would be appreciated, and what settings to take a closer look at.

    Plugin Contributor pewgeuges

    (@pewgeuges)

    @rkupadhya,

    I’m able to reproduce the bug at my end. The only possible instant fix — while waiting for the next bugfix version to be released — is in class/task.php:2188. The correct line is:

    
    $l_int_pos_start += strlen( $l_str_footnote_replace_text );
    

    For transparency I’m going to sum up the bug history in response to @docteurfitness who is the first to report this bug, and post it after https://www.ads-software.com/support/topic/problem-since-footnotes-2-5-14/page/2/#post-14304446

    Apologies for failing to act timely when I was still able to make fixes available.

    Best regards.

    Plugin Contributor pewgeuges

    (@pewgeuges)

    @rkupadhya

    The issue is now solved in current v2.6.6 released half an hour ago.

    I apologize to all Footnotes users for the harm I caused to your websites and for all the trouble.

    Thank you for your help!

    Thread Starter rkupadhya

    (@rkupadhya)

    Thank you, the recent updates fixed the issues!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adjacent Footnotes Not Working Sometimes’ is closed to new replies.