be more permissive about iframe markup. closes #567. thanks @stephenr85