summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.snippets.animation.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-07-01 18:11:32 +0200
committerChristophe Simonis <chs@odoo.com>2015-07-01 18:11:32 +0200
commit4c2a1de75ae6b687b4530b084785d291ec3aaecc (patch)
treeb619bb3c76881120dd7a876ccb758954f6fa907b /addons/website/static/src/js/website.snippets.animation.js
parent429ea59bac0b67f7314687281bec7d6b299f4af4 (diff)
parent22bd3bdd2f5d16a69a688e3f7f79875ae44b3f30 (diff)
[MERGE] forward port of branch 8.0 up to 22bd3bd
Diffstat (limited to 'addons/website/static/src/js/website.snippets.animation.js')
-rw-r--r--addons/website/static/src/js/website.snippets.animation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.snippets.animation.js b/addons/website/static/src/js/website.snippets.animation.js
index 15f34edcb1d..dd97c19e817 100644
--- a/addons/website/static/src/js/website.snippets.animation.js
+++ b/addons/website/static/src/js/website.snippets.animation.js
@@ -183,7 +183,7 @@
if (!this.$target.has('.media_iframe_video_size')) {
var editor = '<div class="css_editable_mode_display">&nbsp;</div>';
var size = '<div class="media_iframe_video_size">&nbsp;</div>';
- this.$target.html(editor+size+'<iframe src="'+this.$target.data("src")+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>');
+ this.$target.html(editor+size+'<iframe src="'+_.escape(this.$target.data("src"))+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>');
}
},
});