Upgrading to Moodle 3.5 -> HTML tags on lang strings

Upgrading to Moodle 3.5 -> HTML tags on lang strings

by Ana Isabel Lara Gutierrez -
Number of replies: 0

I'm new to this community and I've been working with the moolde platform for a short time.

We are migrating from version 3.1 to 3.5 and have noticed that the language string selectmoduletoviewhelp does not show the HTML tags:

<p><strong>Select an activity or resource to view the help </strong></p>

Appears as plain text ,  don't interpret tags.

 In the Moodle documentation it says that it is possible, modifying the language strings from Language customisation

We notice that the function call this language string has changed  :

In Versión 3.1:
course/renderer.php: $formcontent .= html_writer::tag('div', get_string( selectmoduletoviewhelp', 'moodle');

Versión 3.5 :
course/classes/output/modchooser.php: $this->set_instructions(new lang_string('selectmoduletoviewhelp'));

Thanks  in advance, 

Ana

Average of ratings: -