FormulasQuestion / moodle-qtype_formulas

Formulas question type for Moodle
17 stars 29 forks source link

Fix instantiation check problem with < char #138

Closed PhilippImhof closed 6 months ago

PhilippImhof commented 6 months ago

Currently, the instantiation check in the edit form can fail if the variable definition contains the < char. This is, because we currently use PARAM_TEXT and this does not support the < char despite the Moodle docs stating otherwise.

We will now use PARAM_RAW and solve that problem. The PR adds a test case to the unit test.

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 7477244568


Totals Coverage Status
Change from base Build 7245735740: 0.0%
Covered Lines: 2524
Relevant Lines: 3364

💛 - Coveralls