Announcement

Collapse
No announcement yet.

Repair the "QUOTE"-function (remove BR's)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Repair the "QUOTE"-function (remove BR's)

    Hello!

    When a user is posting a reply, the quoted text looks like this in the textarea-box:

    Code:
    [QUOTE][i]Original posted by Username:[/i]
    [B]This is the original text.[/B][/QUOTE]
    When a user is now answering, he will start to answer in this way (textarea-box):

    Code:
    [QUOTE][i]Posted by Username:[/i]
    [B]This is the original text.[/B][/QUOTE]
    
    This is the new reply. (-> the user is adding a blank line to make this text look nicer - unfortunately not visible in this CODE-tag now)
    But when this user is now posting the message, it will look like this in the new posting:

    Code:
    Quote:
    --------------------------------------------------------------------------------
    Posted by Username::
    This is the original text.  
    --------------------------------------------------------------------------------
    
    
    This is the new reply.
    You see: vBulletin created two BR's between the end of the quote and the new reply. This is because the end of the QUOTE is coded like this:

    Code:
    </blockquote> <br />
    <br />
    This is the new reply
    There is one BR too much. You can prevent this double-"BR"-ing by beginning with the new reply directly after the "/QUOTE", but this can't be the real solution...

    Please help!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X