Skip to content
Snippets Groups Projects
Commit 7fb7f574 authored by David Prévot's avatar David Prévot
Browse files

New upstream version 0.1.8

parents 445ce26b 10f32192
No related branches found
No related tags found
No related merge requests found
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.8] - 2023-11-29
### Fixed
- libxml internal buffer leak [#5]
## [0.1.7] - 2022-12-17 ## [0.1.7] - 2022-12-17
### Added ### Added
- Support for PHP 8.2 [#4]. - Support for PHP 8.2 [#4].
...@@ -26,7 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ...@@ -26,7 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.3] - 2019-07-20 ## [0.1.3] - 2019-07-20
### Fixed ### Fixed
- UTF-8 econding issues - UTF-8 enconding issues
## [0.1.2] - 2019-05-25 ## [0.1.2] - 2019-05-25
### Fixed ### Fixed
...@@ -43,7 +46,9 @@ First version ...@@ -43,7 +46,9 @@ First version
[#2]: https://github.com/oscarotero/html-parser/issues/2 [#2]: https://github.com/oscarotero/html-parser/issues/2
[#3]: https://github.com/oscarotero/html-parser/issues/3 [#3]: https://github.com/oscarotero/html-parser/issues/3
[#4]: https://github.com/oscarotero/html-parser/issues/4 [#4]: https://github.com/oscarotero/html-parser/issues/4
[#5]: https://github.com/oscarotero/html-parser/issues/5
[0.1.8]: https://github.com/oscarotero/html-parser/compare/v0.1.7...v0.1.8
[0.1.7]: https://github.com/oscarotero/html-parser/compare/v0.1.6...v0.1.7 [0.1.7]: https://github.com/oscarotero/html-parser/compare/v0.1.6...v0.1.7
[0.1.6]: https://github.com/oscarotero/html-parser/compare/v0.1.5...v0.1.6 [0.1.6]: https://github.com/oscarotero/html-parser/compare/v0.1.5...v0.1.6
[0.1.5]: https://github.com/oscarotero/html-parser/compare/v0.1.4...v0.1.5 [0.1.5]: https://github.com/oscarotero/html-parser/compare/v0.1.4...v0.1.5
......
...@@ -90,6 +90,10 @@ class Parser ...@@ -90,6 +90,10 @@ class Parser
libxml_disable_entity_loader($entities); libxml_disable_entity_loader($entities);
} }
if (libxml_get_last_error() !== false) {
libxml_clear_errors();
}
return $document; return $document;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment