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

Wiki add extra empty div blocks at each edit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.5, 1.7.3, 1.8.3
    • Fix Version/s: 1.9
    • Component/s: None
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      If I create wiki page, containing the following HTML text:

      <ol>

      <li>Something</li>

      </ol>

      Then save page and edit it. Page will appear as

      <div class=indent style=margin-left: 15px;></div>

      <ol>

      <li>Something</li>

      </ol>

      [three new line characters]

      If I save page again it will become:

      <div class=indent style=margin-left: 15px;></div>

      <div style=margin-left: 15px; class=indent></div>

      <ol>

      <li>Something</li>

      </ol>

      [six new line characters]

      Every time I edit the page one div and three new line characters are added. If the page is more complicated (list have more elements), more emplty div blocks and more new line characters are added each time

        Attachments

          Activity

            People

            • Votes:
              13 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08