Fixes issue #102 by closing iframe tags properly.