From f7e65ef8a1ec656846ababc3adbfa193f5fded84 Mon Sep 17 00:00:00 2001 From: Alex Bukach <alex.bukach@gmail.com> Date: Thu, 25 Feb 2021 03:06:57 -0800 Subject: [PATCH] Added Boost support --- minifyhtml.module | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/minifyhtml.module b/minifyhtml.module index 60a9358..f8e1ad7 100644 --- a/minifyhtml.module +++ b/minifyhtml.module @@ -159,6 +159,13 @@ function minifyhtml_module_implements_alter(&$implementations, $hook) { $group = $implementations['minifyhtml']; unset($implementations['minifyhtml']); $implementations['minifyhtml'] = $group; + + // Put boost_exit() (if exists) after minifyhtml_exit(). + if (isset($implementations['boost'])) { + $group = $implementations['boost']; + unset($implementations['boost']); + $implementations['boost'] = $group; + } } } -- GitLab