You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anspress use this code $this->value = preg_replace_callback( '/<img\s+src="([^"]+)"[^>]+>/i', [ $this, 'image_process' ], $value );
This regular expression does not seem to work.
I'm not good at regular expression, and that code did work 2weeks ago...but my test show that it doesn't work.
class-editor.php - function pre_get() : 250
anspress use this code
$this->value = preg_replace_callback( '/<img\s+src="([^"]+)"[^>]+>/i', [ $this, 'image_process' ], $value );
This regular expression does not seem to work.
I'm not good at regular expression, and that code did work 2weeks ago...but my test show that it doesn't work.
Here is my test.
Check please!
The text was updated successfully, but these errors were encountered: