minify-html/archive/parent/blacklist.c

21 lines
486 B
C

#include <hb/collection.h>
#include <hb/rule.h>
#include <hb/rune.h>
void hb_rule_tag_parent_blacklist_init(void)
{
// Don't do anything. This rule is currently unused.
}
// Check if a child is allowed to have a specific parent, based on the
// blacklist.
bool hb_rule_tag_parent_blacklist_allowed(nh_view_str* child,
nh_view_str* parent)
{
// Since this rule is currently not being used, directly allow without
// any checks.
(void) child;
(void) parent;
return true;
}