minify-html/archive/parent/blacklist.c

21 lines
486 B
C
Raw Normal View History

2019-04-10 03:05:47 -04:00
#include <hb/collection.h>
#include <hb/rule.h>
#include <hb/rune.h>
2019-04-10 03:05:47 -04:00
void hb_rule_tag_parent_blacklist_init(void)
{
// Don't do anything. This rule is currently unused.
2019-04-10 03:05:47 -04:00
}
// 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;
2019-04-10 03:05:47 -04:00
}