Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New ref content #23
Issue #13 in Github identified a problem when new() is passed $content as a ref. In particular, it seems that utf8_downgrade doesn't get properly done. My fix was to have new capture the new object and if the content is a ref, then call content_ref to set it using the existing logic.