Moodle
  1. Moodle
  2. MDL-8852

lang.php may produce and XML compliance error and the page does not get rendered

    Details

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

      Description

      There is a problem with pure substr() that appeared in revision 1.85 (see MDL-8184). The substr() can possibly produce XHTML parsing error - see an example:
      substr('Marks & Spencer', 0, 9) -> 'Marks &am' ... is not XHTML compliance

      I have already fixed, I am gong to commit in several minutes.

        Activity

        Hide
        David Mudrak added a comment -

        Fixed in revision 1.90

        Show
        David Mudrak added a comment - Fixed in revision 1.90
        Hide
        David Mudrak added a comment -

        The fix merged into MOODLE_18_STABLE as well

        Show
        David Mudrak added a comment - The fix merged into MOODLE_18_STABLE as well

          People

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

            Dates

            • Created:
              Updated:
              Resolved: