clipper: ignore noscript elements

This commit is contained in:
Abdullah Atta
2025-06-20 14:46:22 +05:00
parent a3e11b62e0
commit c53fab603f

View File

@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const INVALID_ELEMENTS = ["script"];
const INVALID_ELEMENTS = ["script", "noscript"];
type CloneNodeOptions = {
images?: boolean;