• I noticed two small bugs in the the 7.0.3 zotpress.shortcode.intext javascript files.

    The first is that the logic for the separator character is reversed. It currently is:
    if(intext_citation_params.separator==”comma”)
    intext_citation_output+=”; “;else intext_citation_output+=”, ”

    It should be:
    if(intext_citation_params.separator==”comma”)
    intext_citation_output+=”, “;else intext_citation_output+=”; ”

    The second is that the logic for detecting an item without authors doesn’t quite work. It currently is:
    if(item_data[item.key].data.hasOwnProperty(“creators”))

    It should be:
    if(item_data[item.key].data.hasOwnProperty(“creators”)&&item_data[item.key].data.creators.length!=0)

    I’ve corrected this in the copy of zotpress.shortcode.intext.min.js for my WordPress installation, and I’ve found that it corrects unexpected behavior that I’d seen in in-text citations.

    Do you have bug-tracking software that you use for bug reporting and feature suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two bugs in zotpress.shortcode.intext’ is closed to new replies.