Allow images and links in Google Caja HTML emails -


i trying display html email in webpage using caja. loading this:

caja.load(document.getelementbyid('messagebox'), undefined, function(frame) {     frame.code(contenturl, 'text/html').run(); }); 

when renders, anchor href , image src tags stripped. cannot see images or click links. guessing default behaviour prevent attacks.

is there way allow html rendered intended, displaying images , having clickable links?

just starting using caja today , links api docs go 404 cannot find info.

thanks

use policy caja.policy.net.all instead of undefined when call load


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -