public String toHtml(@Nullable RuleDto.Format descriptionFormat, RuleDescriptionSectionDto ruleDescriptionSectionDto) {
    if (MARKDOWN.equals(descriptionFormat)) {
      return Markdown.convertToHtml(ruleDescriptionSectionDto.getContent());
    }
    return ruleDescriptionSectionDto.getContent();
  }
@Test
  public void toHtmlWithHtmlFormat() {
    String result = ruleDescriptionFormatter.toHtml(HTML, HTML_SECTION);
    assertThat(result).isEqualTo(HTML_SECTION.getContent());
  }