Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13901

Give quotes more whitespace in the posting form for readability

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.0-a1
    • 3.2.0-dev
    • Posting
    • None

      Currently, whitespace inside of quotes is trimmed and the reply starts immediately after the quote. I propose to put the quote tags on their own line and add a blank line after the quote, before the reply starts. This has no effect on the resulting HTML.

      [quote="admin"]This is the original text. It can run a bit longer thanks to some lorem ipsum.
       
      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/quote]
      This is the default reply. Hard to tell from the original text.
      

      [quote="admin"]
      This is the original text. It can run a bit longer thanks to some lorem ipsum.
       
      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
      [/quote]
       
      With the quote tags on their own lines and the quote followed by a blank line, it's easier to make out where the reply starts.
      

      Very short, single-line quotes may be exempt of the first rule. If the full quote takes <= 80 characters with no newline, they can be kept on the same line. For example:

      [quote="user"]I agree with that.[/quote]
       
      Me too.
      

        1. before.png
          before.png
          43 kB
        2. after.png
          after.png
          43 kB

            nicofuma nicofuma
            JoshyPHP JoshyPHP
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: