1 2 3jQuery(document).ready(function(){ 4 const removeEmptyElement=()=>{ 5 const imageBlocks=jQuery('.wp-block-cp-timeline-content-timeline-block-child .story-content .wp-block-image img[src=""]'); 6 const headingBlocks=jQuery('.wp-block-cp-timeline-content-timeline-block-child .story-content .wp-block-heading:empty'); 7 const paragraphBlocks=jQuery('.wp-block-cp-timeline-content-timeline-block-child .story-content>p:empty'); 8 imageBlocks?.closest('.story-content')?.addClass('cp-block-image-not'); 9 imageBlocks?.closest('figure')?.remove(); 10 headingBlocks?.remove(); 11 paragraphBlocks?.remove(); 12 }; 13 removeEmptyElement(); 14})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.