Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13901

Give quotes more whitespace in the posting form for readability

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-dev
    • Fix Version/s: 3.2.0-a1
    • Component/s: Posting
    • Labels:
      None

      Description

      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.
      

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: