WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Footnotes] Unwanted space before note in post text

[Plugin: Simple Footnotes] Unwanted space before note in post text

  • Hi Andrew — thanks for making this plugin. Very clean, no-muss-no-fuss. 🙂

    There is just one little tiny thing: the footnote numbers were appearing in my text with an extra space before them that I don’t want.

    Example (number sign indicates the linked, superscripted footnote number):

    Lorem ipsum.[ref]My note, etc.[/ref] Blah blah blah, and so forth.
    produces

    Lorem ipsum. # Blah blah blah, and so forth.

    I fixed this by changing the beginning of line 75 of simple-footnotes.php from this:
    return ' <a class="simple-footnote"
    to this:
    return '<a class="simple-footnote"

    I’m aware, however, that this change will be wiped out by an update of the plugin. I don’t know if you put the leading space before the inline citation number there on purpose.

    My humble request is that if you prefer to leave it as-is by default, could there be an option for the user to eliminate the leading space?

    Thanks again –
    Derek

    http://wordpress.org/extend/plugins/simple-footnotes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ll second that. It is a standard that footnote marker follows a word immediately. Another thing is that these markers could be more pronounced ( bigger or something ). I could hardly find them applied to paragraphs of lorem ipsum.

    Very nice and clean.

    Frank

    Plugin Author Andrew Nacin

    @nacin

    Lead Developer

    I don’t have much of an issue with removing the space. I think I did it for readability purposes initially. Going to come up with a way to template this in a new version soon.

    Great — thanks, Andrew!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Footnotes] Unwanted space before note in post text’ is closed to new replies.