Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-11521

Suppress whitespace at end of messages

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1, 2.4.x, 2.5.0, 2.5.2, 2.5.3, 2.5.x
    • Fix Version/s: 2.6.0
    • Component/s: Forums Tool
    • Labels:
      None
    • Test Plan:
      Hide

      Within a course site on 2.6.0-alpha-01:
      add a forum post, with 3 paragraphs, pressing enter after last one
      view iframe source
      verify that there is no extraneous white space at the bottom

      Show
      Within a course site on 2.6.0-alpha-01: add a forum post, with 3 paragraphs, pressing enter after last one view iframe source verify that there is no extraneous white space at the bottom

      Description

      FCKeditor seems to often leave an empty line at the end of messages when people are adding forum posts, viz.:

      <p> </p>

      This creates unnecessary whitespace in the "display entire message" topic and thread views.

      The message body should get checked to see if this pattern occurs one or more times at the end, and if so it should be truncated. Ideally this should happen both on saving a new message, and when rendering existing messages (as there may be many such messages already in the database).

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                bochuxt xingtang (Inactive)
                Reporter:
                smarquard Stephen Marquard
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration