Remove all non essential html tags and entities.
public static decodeHtmlEntities ( string $string ) : string | ||
$string | string | |
Результат | string | with the stripped entities. |
/** * @param string $cssFileName * @param string $title * * @return string */ function buildEPub3TOC($cssFileName = null, $title = "Table of Contents") { $this->ncx->referencesOrder = $this->referencesOrder; $this->ncx->setDocTitle(StringHelper::decodeHtmlEntities($this->title)); return $this->ncx->finalizeEPub3($title, $cssFileName); }