Chris@0: From 1.x to 2.x Chris@0: ================= Chris@0: Chris@0: - All classes uses `Masterminds` namespace. Chris@0: - All public static methods has been removed from `HTML5` class and the general API to access the HTML5 functionalities has changed. Chris@0: Chris@0: Before: Chris@0: Chris@0: $dom = \HTML5::loadHTML('....'); Chris@0: \HTML5::saveHTML($dom); Chris@0: Chris@0: After: Chris@0: Chris@0: use Masterminds\HTML5; Chris@0: Chris@0: $html5 = new HTML5(); Chris@0: Chris@0: $dom = $html5->loadHTML('....'); Chris@0: echo $html5->saveHTML($dom); Chris@0: Chris@0: