Closed AlexanderSk closed 8 years ago
Please hold with this Pull request. I noticed that the css file is not generated after saving the dom->html with this implementation. Will check it further tomorrow. Edit: this issue is fixed by placing the isEnabledImg code as a last check in the function. will test further to be sure it works correctly.
Ok, let me know once you want me to bring in the changes. Great changes so far and keep up the good work!
Updated for correct image tampering within the dom. Function recursive_Array_Search added. also preg_match is modified once again in order to include only specified extensions.
Note: perhaps it would be better to place array search in the helper? The changes are not tested against live version websites with no issues. Also note that php 5.x can support multi dimensional array search but for compatibility i placed in this function (source php.net).