WordPress.org

Ready to get started?Download WordPress

Forums

WP Flow Plus
[resolved] overflow error if image description contains new line (10 posts)

  1. itarozzi
    Member
    Posted 1 year ago #

    Using default WP media (with Media Tags plugin) and using a media description containing new line, seems image title suffer overflow (bad chars are displayed) and all images aren't displayed

    http://wordpress.org/extend/plugins/wp-imageflow2/

  2. Bev
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, I will look into this.

  3. Bev
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. itarozzi
    Member
    Posted 1 year ago #

    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

  5. Bev
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. itarozzi
    Member
    Posted 1 year ago #

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

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

  7. Bev
    Member
    Plugin Author

    Posted 1 year ago #

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

  8. Bev
    Member
    Plugin Author

    Posted 1 year ago #

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

    Does this help?

  9. itarozzi
    Member
    Posted 1 year ago #

    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!

  10. Bev
    Member
    Plugin Author

    Posted 1 year ago #

    Excellent! Thanks for your help in tracking this down.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.