MDL-18541 replace script - now also replaces within well known html blocks. Merged from 19_STABLE
MDL-18541 replace script - now also replaces within well known html blocks. Merged from 19_STABLE

dilawar/moodle