summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-03-17 14:02:35 +0000
committerRomain Derie <rde@odoo.com>2020-03-19 10:15:37 +0000
commite7ef57f6879eee4808acd4af899ba3a285e2950b (patch)
tree45f3a9e2f67d78eb4571e38ae7cda4db04d7dd0f /addons/web/static/src/js/views/basic/basic_renderer.js
parent22e583a8825c514f47fbb4b3e2a4a019aad611c4 (diff)
[FIX] website_blog, website_event: prevent wrong meta og:image URL
Without this commit, if the cover properties's background-image contains single quotes in the `url()`, that will lead to 404 image in SEO dialog. It will also lead to wrong og:image in the DOM. Before: `<meta property="og:image" content="'website_blog/static/src/img/cover_1.jpg'"/>` Now: `<meta property="og:image" content="http://localhost:8069/website_blog/static/src/img/cover_1.jpg"/>` This is the case for all our demo data. closes odoo/odoo#47994 X-original-commit: 2338f8ecc8c21299774e288ab07bb084a58cc7ab Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions