Transform element node filter info

@param {Object} element the element node to transform
@param {Object} tplOpts the template transform options
@param {Object=} options the plugin options, optional
function transformFilterInAttribute(element, tplOpts, options) {
    let attrs = element.attribs;
    let filterAttrs = element._hasFilterAttrs;
    if (!filterAttrs || !filterAttrs.length) {
        return;
    }

    let {logger, file} = tplOpts;
    let {filters} = options;
    filterAttrs.forEach(k => {
        let value = attrs[k];
        attrs[k] = updateFilterCall(filters, logger, file, value);
    });
}