[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.
producesLorem 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
- The topic ‘[Plugin: Simple Footnotes] Unwanted space before note in post text’ is closed to new replies.