Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
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.
Patch for 1.9 and 2.0.