Moodle PHP Documentation 4.1
Moodle 4.1.18+ (Build: 20250530) (7e19a2a6401)
|
HTML Purifier is an HTML filter that will take an arbitrary snippet of HTML and rigorously test, validate and filter it into a version that is safe for output onto webpages. It achieves this by:
However, most users will only need to interface with the HTMLPurifier and HTMLPurifier_Config.