You are here

protected function MinifyHTMLExit::minifyhtmlPlaceholderCallbackTextarea in Minify Source HTML 8

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

Parameters

array $matches: Matches from initial preg_replace().

Return value

string The placeholder string.

File

src/EventSubscriber/MinifyHTMLExit.php, line 203

Class

MinifyHTMLExit
Minifies the HTML of the response.

Namespace

Drupal\minifyhtml\EventSubscriber

Code

protected function minifyhtmlPlaceholderCallbackTextarea(array $matches) {
  return $this
    ->minifyPlaceholderReplace(trim($matches[0]));
}