2025-04-02 06:50:39 -04:00

16 lines
305 B
JavaScript

'use strict';
const utils = require('./utils.cjs');
function cleanRaw(node, item, list) {
// raw in stylesheet or block children
if (
utils.isNodeChildrenList(this.stylesheet, list) ||
utils.isNodeChildrenList(this.block, list)
) {
list.remove(item);
}
}
module.exports = cleanRaw;