Files
rspade_system/vendor/masterminds/html5/UPGRADING.md
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00

496 B
Executable File

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