Seems like we are working on this simultaneously!
BTW: These changes are the foundation for fixes I am developing for DTCoreText. Once you have merged these I can push by changes to DTCoreText so no one gets a stale submodule.
Adding OS X target for DTHTMLParser lib.
Fixing iOS 5.1 compatibility.
Thanks for working in this!
Thank you for merging it in. :)