Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LeagueHtmlToMarkdownConverter.php

function LeagueHtmlToMarkdownConverter::convert

Overrides HtmlToTextConverterInterface::convert

File

vendor/symfony/mime/HtmlToTextConverter/LeagueHtmlToMarkdownConverter.php, line 31

Class

LeagueHtmlToMarkdownConverter
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\Mime\HtmlToTextConverter

Code

public function convert(string $html, string $charset) : string {
    return $this->converter
        ->convert($html);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal