X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fhtmlpurifier%2FHTMLPurifier%2FChildDef.php;fp=inc%2F3rdparty%2Fhtmlpurifier%2FHTMLPurifier%2FChildDef.php;h=5d64cd41a1a180aaf27ece99bee76644dc1a9e6e;hb=d4949327efa15b492cab1bef3fe074290a328a17;hp=0000000000000000000000000000000000000000;hpb=c9bd17a1007bb78e5de0775efca01df0fb515031;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ChildDef.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ChildDef.php new file mode 100644 index 00000000..5d64cd41 --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ChildDef.php @@ -0,0 +1,52 @@ +elements; + } + + /** + * Validates nodes according to definition and returns modification. + * + * @param HTMLPurifier_Node[] $children Array of HTMLPurifier_Node + * @param HTMLPurifier_Config $config HTMLPurifier_Config object + * @param HTMLPurifier_Context $context HTMLPurifier_Context object + * @return bool|array true to leave nodes as is, false to remove parent node, array of replacement children + */ + abstract public function validateChildren($children, $config, $context); +} + +// vim: et sw=4 sts=4