You are here

function minifyhtml_placeholder_callback_textarea in Minify Source HTML 7

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

Parameters

array $matches: Matches from initial preg_replace().

Return value

string The placeholder string.

File

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

Code

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