fixed bug with surrounding div, added domdoc to strip surrounding div on parse