Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28081

Visible line break tag in coursehelpnewsitemsnumber

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as administrator
      2. In the Settings menu, expand "Site administration"
      3. Expand Courses
      4. Click on "Course default settings"
      5. Find the setting for "Items to Show" and note that no <br/> tag should be visible.
      Show
      Log in as administrator In the Settings menu, expand "Site administration" Expand Courses Click on "Course default settings" Find the setting for "Items to Show" and note that no <br/> tag should be visible.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_21_STABLE
    • Pull Master Branch:
      wip-mdl-28081

      Description

      The break tag in $string['coursehelpnewsitemsnumber'] doesn't have spaces around it and thus doesn't render correctly in Course Default Settings > News Items to Show.

      2.1 patch: https://github.com/mackensen/moodle/commit/eddd0574525d71fdaef552760f954c0b3cd7e11a.

      Replication instructions:

      1. Log in as administrator
      2. In the Settings menu, expand "Site administration"
      3. Expand Courses
      4. Click on "Course default settings"
      5. Find the setting for "Items to Show" and note that it includes a visible <br/> tag.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  17 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: