diff --git a/addons/web_editor/static/src/js/wysiwyg/widgets/image_crop.js b/addons/web_editor/static/src/js/wysiwyg/widgets/image_crop.js index 3b086a6338f..c79d8ea52d2 100644 --- a/addons/web_editor/static/src/js/wysiwyg/widgets/image_crop.js +++ b/addons/web_editor/static/src/js/wysiwyg/widgets/image_crop.js @@ -10,6 +10,7 @@ import { onWillDestroy, onWillUpdateProps, } from "@odoo/owl"; +import { Markup } from "web.utils"; export class ImageCrop extends Component { static template = 'web_editor.ImageCrop'; @@ -135,7 +136,7 @@ export class ImageCrop extends Component { this.displayNotification({ type: 'warning', title: _t("This image is an external image"), - message: _t("This type of image is not supported for cropping.
If you want to crop it, please first download it from the original source and upload it in Odoo."), + message: Markup(_t("This type of image is not supported for cropping.
If you want to crop it, please first download it from the original source and upload it in Odoo.")), }); return this._closeCropper(); }