Function __global->_obscure_html_callback

Definitions

sources/comcode_compiler.php

  • Used by filter_html to temporarily obscure safelisted complex HTML so it doesn't get mangled by the input filter.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$matches array No No required parameter N/A N/A Array of matches

Returns

  • Substituted text
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Used by filter_html to temporarily obscure safelisted complex HTML so it doesn't get mangled by the input filter.
 *
 * @param  array $matches Array of matches
 * @return string Substituted text
 */

function _obscure_html_callback(array $matches) : string