Moodle
  1. Moodle
  2. MDL-9248

lang.php does not preserve &lt; and &gt; entities but transfers them into < and >

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE
    • Rank:
      29612

      Description

      When lang.php saves the translation file, it converts HTML entities like < and > into < and > characters. This may produce critical error in parsing XML/XHTML document.

      It is necessary to preserve HTML entites "as they are" without any transformation.

        Issue Links

          Activity

          Hide
          David Mudrak added a comment -

          Fixed in 1.92 and 1.88.2.4

          Show
          David Mudrak added a comment - Fixed in 1.92 and 1.88.2.4
          Hide
          David Mudrak added a comment -

          Closing

          Show
          David Mudrak added a comment - Closing

            People

            • Assignee:
              David Mudrak
              Reporter:
              David Mudrak
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: