From 7187ab859db71fd706a6ea67587b21ad0fe588df Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Jul 2022 09:15:00 +0300 Subject: fork masterminds html5-php --- .../masterminds/html5/test/HTML5/TestCase.php | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/af_readability/vendor/masterminds/html5/test/HTML5/TestCase.php (limited to 'plugins/af_readability/vendor/masterminds/html5/test/HTML5/TestCase.php') diff --git a/plugins/af_readability/vendor/masterminds/html5/test/HTML5/TestCase.php b/plugins/af_readability/vendor/masterminds/html5/test/HTML5/TestCase.php new file mode 100644 index 000000000..a25ae215c --- /dev/null +++ b/plugins/af_readability/vendor/masterminds/html5/test/HTML5/TestCase.php @@ -0,0 +1,23 @@ +test'; + + const DOC_CLOSE = ''; + + public function getInstance(array $options = array()) + { + return new HTML5($options); + } + + protected function wrap($fragment) + { + return self::DOC_OPEN . $fragment . self::DOC_CLOSE; + } +} -- cgit v1.2.3