Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

v0.2.1

Compare
Choose a tag to compare
@andreskrey andreskrey released this 31 May 12:05
· 446 commits to master since this release
  • Added normalizeEntities flag to convert UTF-8 characters to its HTML Entity equivalent. Fixes bugs on htmls with mixed encoding.
  • Added more information to the readme.md file
  • New way to create a backup DOM: not creating a backup. In the previous version, the system cloned the $this->dom object to keep it as a backup in order to restart the algorithm with other flags, if needed. This seemed to work until I realized that sometimes the backup changes even if we are not touching it. Seems that the dom and backupdom objects are linked and some changes on the dom object reach the bakcupdom object. The new approach consists in deleting the backupdom object and recreating from scratch the dom object. Of course this has a performance impact, but seems to be quite low.