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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mudrd8mz David Mudrák added a comment -

            Fixed in revision 1.90

            Show
            mudrd8mz David Mudrák added a comment - Fixed in revision 1.90
            Hide
            mudrd8mz David Mudrák added a comment -

            The fix merged into MOODLE_18_STABLE as well

            Show
            mudrd8mz David Mudrák added a comment - The fix merged into MOODLE_18_STABLE as well

              People

              • Assignee:
                mudrd8mz David Mudrák
                Reporter:
                mudrd8mz David Mudrák
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  31/Mar/07