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

Posts truncated when <p> or <br /> tag encountered during rendering but ok in the DB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 1.6.5
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Environment:
      Debian Etch, PHP 5, Apache 2, MySQL
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      When entering posts using the editor, adding line break or paragraph (either <p> or <br> tag) may cause Moodle to render those posts truncated at the first line break or paragraph occurence.

      In the database posts rendered truncated are correctly stored: editing the posts directly in the DB eliminating <p> and <br> tag let the posts to be showed completely (of course without paragraph and line breaks).

      There are no cahce enabled nor filters. Problem appears only in forum posts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dougiamas Martin Dougiamas
              Reporter:
              andreabix Andrea Bicciolo
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: