Graby\SiteConfig\SiteConfig::tidy PHP Method

tidy() public method

Process HTML with tidy before creating DOM (bool or null if undeclared).
public tidy ( boolean $use_default = true ) : boolean | null
$use_default boolean
return boolean | null
    public function tidy($use_default = true)
    {
        if ($use_default) {
            return isset($this->tidy) ? $this->tidy : $this->default_tidy;
        }
        return $this->tidy;
    }