WordPress.org

Support

Support » Plugins and Hacks » [Resolved] overflow error if image description contains new line

[Resolved] overflow error if image description contains new line

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Bev
    Member

    @bstofko

    Thanks, I will look into this.

    Plugin Author Bev
    Member

    @bstofko

    I have made an update to resolve this. Can you try the development version and let me know if it fixes the problem?

    Thanks for your answer!
    I have been testing development version.
    Now the flow view seems to work as aspected.
    But when I click on image I see description ending with:

    ” />

    Same behavior using nextGen gallery and native wp media

    I’m here for additiona test, if you want

    Plugin Author Bev
    Member

    @bstofko

    Hmm, I’m not seeing that. Can you tell me exactly what you have entered in the description field?

    Here my (just for testing) description; newline after …

    Chissà se arriva quà con una mareggiata o è stata lasciata da qualche maleducato?….
    noi documentiamo

    Plugin Author Bev
    Member

    @bstofko

    Odd, it works for me. Can you send me a link to your test page?

    Plugin Author Bev
    Member

    @bstofko

    I have updated the development version to process the description with htmlspecialchars. This helps if the string contains any quote characters.

    Does this help?

    Sorry, I can’t send link to my page because I’m testing wordpress with your plugin on a personal server not reachable.

    BUT, with your last patch the description works well.

    I think htmlspecialchars does the stuff! Thank you very much!

    Plugin Author Bev
    Member

    @bstofko

    Excellent! Thanks for your help in tracking this down.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] overflow error if image description contains new line’ is closed to new replies.