* lisp/org-footnote.el (org-footnote-delete-definitions): Remove blank lines before the footnote definition instead of removing those after it. * testing/lisp/test-org-footnote.el: Adapt tests.