add stylesheet rewrite

This commit is contained in:
hanyixuanten
2026-07-27 19:38:09 +08:00
parent 1f8cb28670
commit 177fc13282
@@ -132,7 +132,7 @@ class BTRANSLATE_Sitemap_Controller {
}
$xpath = new DOMXPath( $document );
$nodes = $xpath->query( '//text() | //@*' );
$nodes = $xpath->query( '//text() | //@* | //processing-instruction("xml-stylesheet")' );
if ( false === $nodes ) {
return '';