MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE
MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE

dilawar/moodle