# yatra/3.0.13/vendor/masterminds/html5/UPGRADING.md

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.13. 22 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.13/code/vendor/masterminds/html5/UPGRADING.md
- Raw: https://pluginprobe.com/plugins/yatra/3.0.13/raw/vendor/masterminds/html5/UPGRADING.md
- Modified: 2026-04-14T04:27:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.13/code/vendor/masterminds/html5/UPGRADING.md#L10-L20`.

```markdown
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);



```
