diff --git a/ecrire/public.php b/ecrire/public.php index 29709b8a18f2bd4ea6f6c10b8861e4e28fa87f6f..8964516dba0aac1abbc0fa271972c84538fac58a 100644 --- a/ecrire/public.php +++ b/ecrire/public.php @@ -199,8 +199,9 @@ if (defined('_INC_PUBLIC')) { } } - $page = analyse_js_ajoutee($page); - + if($html) + $page = analyse_js_ajoutee($page); + // Passer la main au debuggueur le cas echeant if ($var_mode == 'debug') { include_spip('public/debug');