Support » Plugin: Inline Footnotes » SUGGESTION: Allow paragraph or line breaks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author gavinr

    (@gavinr)

    Thanks scowei! Will check this out and hopefully get into a future version.

    Plugin Author gavinr

    (@gavinr)

    scowei, after looking into this, I don’t think this will be possible. Here’s why. WordPress by default wraps all the paragraphs in a page in <p> tags. DIVs and other P tags are not allowed within P tags, so our footnote code uses SPAN tags, which are allowed in P tags. DIV or P tags are not allowed in SPAN tags though. So we’re kindof at a weird place. I’d be open to suggestions but right now I think you’ll have to rely on the fact that
    tags should work within the footnote. Hope that helps! -Gavin

    Thread Starter scowei

    (@scowei)

    Thanks for following up on this. Did you leave out one word?

    “… right now I think you’ll have to rely on the fact that __?__ tags should work within the footnote.”

    Plugin Author gavinr

    (@gavinr)

    Ha looks like WordPress removed the HTML tag – yes I meant you should be able to use BR tags, to create line breaks, within the footnote.

    Thread Starter scowei

    (@scowei)

    OK. That was one of the first things I tried, without success. It just cuts the text off at the location of the tag: http://screencast.com/t/TXbwMNRWf5

    Plugin Author gavinr

    (@gavinr)

    I am seeing the BR work. Are you using the latest plugin? It seems to we working for me:

    View post on imgur.com

    View post on imgur.com

    Thread Starter scowei

    (@scowei)

    Well… I guess I just learned something about hmtl… maybe. When I put in line breaks exactly as you illustrate

    it works. But when I drop the initial capitalized “B” and use

    … the second line won’t display in the activated footnote.

    Odd, but now I have a solution.

    (Yes, I have updated the plugin to 1.1.0.)

    Plugin Author gavinr

    (@gavinr)

    Great to hear!

    PS – If you appreciate this plugin and would like to see further improvements, donations via the widget page are greatly appreciated!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘SUGGESTION: Allow paragraph or line breaks’ is closed to new replies.