for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace League\HTMLToMarkdown\Converter;
use League\HTMLToMarkdown\ElementInterface;
class HorizontalRuleConverter implements ConverterInterface
{
public function convert(ElementInterface $element): string
return "---\n\n";
}
/**
* @return string[]
*/
public function getSupportedTags(): array
return ['hr'];