code: private String render(String input, boolean inline) {
          if (input.trim().isEmpty()) {
              return "";
          }
          options.setDocType(inline ? INLINE_DOCTYPE : null);
          return asciidoctor.render(cleanJavadocInput(input), options);
      }
docs: Renders the input using Asciidoctor.
  
  The source is first cleaned by stripping any trailing space after an
  end line (e.g., `"\n "`), which gets left behind by the Javadoc
  processor.
  
  @param input AsciiDoc source
  @return content rendered by Asciidoctor