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

Lesson module does not respect nolink tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.7
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      We have experienced problems when using nolink tags in the lesson module. There is a filter that replaces links (http://...) into "a" tags (<a href="http://...">http://...</a>) ignoring the nolink tags.

      We have seen that the lesson module uses format_text function with FORMAT_MOODLE as argument, and format_text uses the filter that ignores nolink tags.

      format_text with FORMAT_MOODLE as argument uses text_to_html function as filter. And this function parses the text with convert_urls_into_links.

      We think that the problem is on convert_urls_into_links function, because this function does not respect the nolink specification that you can find here: http://docs.moodle.org/en/Nolink_tags

      For this reason, we can say that lesson module does not respect the nolink specification.

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: