diff --git a/plugins/links/iframely-link.js b/plugins/links/iframely-link.js index 65f5cc09a..a601bc561 100644 --- a/plugins/links/iframely-link.js +++ b/plugins/links/iframely-link.js @@ -22,7 +22,8 @@ export default { let wlr = whitelistRecord; if (whitelistRecord.isDefault - && !Array.isArray(value) && value.href) { + && !Array.isArray(value) && value.href + && (!value.type || value.type === CONFIG.T.text_html)) { wlr = options.getWhitelistRecord(value.href, {exclusiveRel: 'html-meta'}); }