mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-09 21:37:25 +00:00
32e59142a3
Fix #647, which went stale in 2019 and is now reopened. Fix #849, which went stale in 2019 and is now reopened. Html Reader currently echoes any warning messages from Dom::loadHtml when it parses Html input. These are generally not needed, and may cause PhpSpreadsheet to fail needlessly. A new property `$suppressLoadWarnings` is added. It will additionally default to `null`, which will avoid any BC breaks. However, the default will be changed to `true` in a future release. Should the caller be interested in any messages which are suppressed when `true` is in effect, these are available through new method `getLibxmlMessages` after the Html has been loaded.