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

[Patch] Only parse markdown text when necessary

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Performance
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Currently, markdown text is allowed in admin setting descriptions. This text is parsed every time the setting is created, even if it is not displayed (e.g. for the navigation block on every page). When logged in as an administrator, this can have a noticeable affect on page load times.

      The attached patch parses markdown text only when it is actually displayed.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            blt04 Brandon Turner
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10