3 namespace League\HTMLToMarkdown\Converter;
5 use League\HTMLToMarkdown\Configuration;
6 use League\HTMLToMarkdown\ConfigurationAwareInterface;
7 use League\HTMLToMarkdown\ElementInterface;
9 class HardBreakConverter implements ConverterInterface, ConfigurationAwareInterface
17 * @param Configuration $config
19 public function setConfig(Configuration $config)
21 $this->config = $config;
25 * @param ElementInterface $element
29 public function convert(ElementInterface $element)
31 return $this->config->getOption('hard_break') ? "\n" : " \n";
37 public function getSupportedTags()