I AM LISTENING TO
|

WHAT I LIKE

Voyager – The Missing Laravel Admin PHP GitHub API 2.0
CSS     Development     HTML5     PHP    

A better HTML5 parser for PHP – HTML5DOMDocument



4. February 2017


HTML5DOMDocument extends the native DOMDocument library. It fixes some bugs and adds some new functionality.

  • Preserves white spaces
  • Preserves html entities
  • Preserves void tags
  • Allows inserting HTML code that moves the correct parts to their proper places (head elements are inserted in the head, body elements in the body)
  • Allows querying the DOM with CSS selectors (currently avaiable: *, tagname, tagname#id, tagname.classname, #id, .classname)

GitHub




Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz