Function __global->clean_simple_html_for_spellcheck

Definitions

sources/spelling.php

  • Clean some HTML for use in the spellcheck, but nothing with tags.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$html string No No required parameter N/A N/A Input string

Returns

  • Cleaned
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Clean some HTML for use in the spellcheck, but nothing with tags.
 *
 * @param  string $html Input string
 * @return string Cleaned
 */

function clean_simple_html_for_spellcheck(string $html) : string