Tag P in content
-
After installing the lazy-load-xt stopped working the code, which cleaned the P tag around images in the content. Help fix regexps
$content = preg_replace('/<p>\s*(<a .*>)?\s*(<img .* \/>)\s*(<\/a>)?\s*<\/p>/iU', '\1\2\3', $content);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Tag P in content’ is closed to new replies.