Function entity_fix__callback
Strips out invalid html entities, replaces others with html style { codes
Callback function used of preg_replace_callback in smcFunc $ent_checks, for example strpos, strlen, substr etc
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
array |
$matches |
An array of matches (relevant info should be the 3rd item in the array) |
string
|
The fixed string |