Fixed spacing problem with citations in notes in footnote styles.

Closes pandoc #1036.