You are here

public function HtmlTitleFilter::decodeToMarkup in HTML Title 8

Filte string with allow html tags.

File

src/HtmlTitleFilter.php, line 82

Class

HtmlTitleFilter
Drupal\html_title\HtmlTitleFilter.

Namespace

Drupal\html_title

Code

public function decodeToMarkup($str) {
  return Markup::create($this
    ->decodeToText($str));
}