GD bbPress Tools
Clicking to the "quote" link adds html linebreaks (br) tags to the quoted post (5 posts)

  1. quan_flo
    Posted 2 years ago #


    I use the latest wordpress, bbpress and gd bbpress tools. the bbpress editor is the wordpress editor.

    Whenever I click at the quote link a <br> Tag is added at every line's end.

    What can I do to solve this?


  2. quan_flo
    Posted 2 years ago #

    I added a

    qout = qout.replace(/<br>/g, "");

    at line 33 in gd-bbpress-tools.js that solves the problem for me.

    But this is just a solution for now.. :)

  3. quan_flo
    Posted 2 years ago #

    same for the latest version.
    Is it only me who has this problem?

  4. Milan Petrovic
    Plugin Author

    Posted 2 years ago #

    Quote is taking whatever bbPress rendered for the text into quote, and if that contains line breaks, it will be in the quotes.

  5. quan_flo
    Posted 2 years ago #

    the problem is a little bit di#erent.

    1. a user posts normal text with normal linebreaks (enter key)
    2. the output of bbpress seems to include linebreak br tags for each enter-key-linebreak.
    3. quoting a text from another user will get the br tags from bbpress output into the quoted text.
    4. bbpress does not allow br tags in postings, so the br tags will not be linebreaks, the html-code is displayed i.side the quoted text..
    so br tags in quoted text should be filtered out imho.

    maybe my description was not good enough?


    ps:its almost the same with the div wrapping quotes title and bidy. quoting a quote will show div code inside the posting. div is also not allowed in posts by bbpress

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GD bbPress Tools
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.