Do not break iframes in the iframe output of TMH

Change-Id: I0ff8af367f58a379bf08f5c842fa195e56899351
Follow-up: ecd5c8423f7fb3
Bug: 66143