moovweb/gokogiri — pull request #59 by jbowtie (2013-11-19 21:04:22+00:00)
Title: Support retrieving unparsed entity URIs from document

Test included. This wraps libxml2.xmlGetDocEntity

github.com/jbowtie/ratago needs this available to implement unparsed-entity-uri