Customizing strings with html tags

Re: Customizing strings with html tags

by Fernando Ventura -
Number of replies: 0
I may understand that...
But this strings goes to DB, so, they are sanitized already, aren't they? And any other messages (from moodle-exception, handle by moodle) could be sanitized too, instead showing them in plain text. I'm assuming that there is a way to sanitize any string... (probably bounding html tags to an allowed short list...?)
Sorry to bother you, probably I'm telling only blunders, I'm just trying to completely understand.

But, more important now, can you tell me if there is a way to show some page different than the mentioned message? I will use intend filenotfound error in my site (there is hundreds of links, valid until some date, after that date, I will delete the files and want to show the info page if the user clicks on the link, in the next year I will put there another set of files - same names, of course), and the actual message page result ir rather ugly!
 
Thank you and please escuse me for abusing your patience.
Average of ratings: Useful (1)