summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/masterminds/html5/UPGRADING.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/af_readability/vendor/masterminds/html5/UPGRADING.md')
-rw-r--r--plugins/af_readability/vendor/masterminds/html5/UPGRADING.md21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/af_readability/vendor/masterminds/html5/UPGRADING.md b/plugins/af_readability/vendor/masterminds/html5/UPGRADING.md
deleted file mode 100644
index 76e3a19bc..000000000
--- a/plugins/af_readability/vendor/masterminds/html5/UPGRADING.md
+++ /dev/null
@@ -1,21 +0,0 @@
-From 1.x to 2.x
-=================
-
-- All classes uses `Masterminds` namespace.
-- All public static methods has been removed from `HTML5` class and the general API to access the HTML5 functionalities has changed.
-
- Before:
-
- $dom = \HTML5::loadHTML('<html>....');
- \HTML5::saveHTML($dom);
-
- After:
-
- use Masterminds\HTML5;
-
- $html5 = new HTML5();
-
- $dom = $html5->loadHTML('<html>....');
- echo $html5->saveHTML($dom);
-
-