Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.5, 1.9.1, 2.1, 2.2
-
Fix Version/s: 2.2
-
Component/s: Glossary
-
Labels:None
-
Testing Instructions:
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-15377-master -
Pull Master Diff URL:
Description
Administration > Modules > Filters (Manage Filters for 1.9) > Enable glossary Auto-link (Filer uploaded files: all files for 1.9)
In a course create a glossary with the entry name "else". Enter a description (but not "else"). Choose to automatically link this entry.
In the same course create a file resource. Use the index.html file attached to this issue.
Save.
Open the resource, and view source. "else" keyword from javascript (line 167 in the index.html file) has been replaced by the glossary entry.
hmm, we should start using some javascript highlighting - it seems impossible to parse html properly in PHP only