Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
| <?php | |
| /** | |
| * Clean HTML string removing all element attributes and elements which are | |
| * not in the provided whitelist (but keeping their allowed children). | |
| * | |
| * @see https://github.com/alixaxel/phunction/blob/master/phunction/HTML.php | |
| * @param string $html to clean | |
| * @param array $whitelist | |
| */ | |
| function clean_html($html, array $whitelist) |