You are here

function minifyhtml_placeholder_callback_pre in Minify Source HTML 7

Helper function to add place holder for <pre> tag.

Parameters

array $matches: Matches from initial preg_replace().

Return value

string The placeholder string.

File

./minifyhtml.module, line 248
Hook and helper functions for the Minify HTML module.

Code

function minifyhtml_placeholder_callback_pre(array $matches) {
  return minifyhtml_placeholder_replace(trim($matches[0]));
}