HTML tags no longer work in various name fields

HTML tags no longer work in various name fields

by John Ryan -
Number of replies: 4
After upgrading to 1.8.2+ (and overcoming the mods-causing-blank-pages problem), I'm annoyed to find that various name fields (e.g. course name, resource name, forum name) no longer accept HTML tags (I want to use the FONT tag); I can edit the field to add tags, and save changes, but in effect no change happens, except that all tags are gone whether they were there before editing or added on editing.

Oddly enough, the tags work in label names.
Average of ratings: -
In reply to John Ryan

Re: HTML tags no longer work in various name fields

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
I agree that this is most annoying. For instance the names of my course resources which were texts accompanied by audio recording, I used to put an icon, etc.
I expect that one of the Moodle programmers has decided that all those name fields should from now on only contain "pure text", and any tag you add gets automatically deleted!
You can vote for MDL-10769 if you want to get those tags back.
Joseph
In reply to Joseph Rézeau

Re: HTML tags no longer work in various name fields

by John Ryan -
I expect that one of the Moodle programmers has decided that all those name fields should from now on only contain "pure text", and any tag you add gets automatically deleted!

=> UH OHHHHH!
Attachment Teletubbies.jpg
In reply to Joseph Rézeau

Re: HTML tags no longer work in various name fields

by Mauno Korpelainen -

Not all tags: at least span is still working. Try for example name

<span style="color:red">Moodle Features Demo</span>