问题
I am developing a custom filter in Drupal using asciidoctor and realize that asciidoctor places the output in <div class="paragraph"><p>
tags.
Does it have a setting to remove those tags from the output and return just the inner HTML?
回答1:
There is a different output plugin HTML5s that creates semantic HTML with fewer extra tags. It works both in Ruby and JavaScript environments.
来源:https://stackoverflow.com/questions/44859883/does-asciidoctor-have-a-setting-to-remove-the-paragraph-and-p-tags-from-the