From 557db7661cc0fb9ecfc09792d3b45ddf8ccce4e1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 11 Jun 2018 10:19:42 +0200 Subject: [PATCH] Fix for content editable sites --- htdocs/core/lib/website.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index 50716c27aca..127fbfd5ac8 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -131,6 +131,8 @@ function dolWebsiteOutput($content) } } + $content=preg_replace('/ contenteditable="true"/', ' contenteditable="false"', $content, -1, $nbrep); + dol_syslog("dolWebsiteOutput end"); print $content;