MDL-15392: fix output sanitization and put permalink back, in a xhtml-strict compliant way. (Merge from 1.9)
MDL-15392: fix output sanitization and put permalink back, in a xhtml-strict compliant way. (Merge from 1.9)

dilawar/moodle