Function __global->xhtmlise_html

Definitions

sources/xhtml.php

  • Function that 'fixes' HTML (or bad XHTML) enough for it to pass most basic structural webstandards checking.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$html string required parameter N/A N/A The XHTML string to convert to XHTML
$definitely_want boolean False N/A N/A Whether to force a repair even if we aren't enforcing XHTML strictness
$snippet boolean False N/A N/A Whether this is a partial snippet of HTML, embeddable in some unknown context

Return

  • The converted string
  • Type: string
  • Set: N/A
  • Range: N/A