pandoc/test/command/3771.md
Albert Krewinkel 6a6c3858b4
Org writer: stop using raw HTML to wrap divs
Div's are difficult to translate into org syntax, as there are multiple
div-like structures (drawers, special blocks, greater blocks) which all
have their advantages and disadvantages.  Previously pandoc would
use raw HTML to preserve the full div information; this was rarely
useful and resulted in visual clutter.  Div-rendering was changed to
discard the div's classes and key-value pairs if there is no natural way
to translate the div into an org structure.

Closes: #3771
2017-09-01 00:08:12 +02:00

200 B

% pandoc -f html -t org
<div class="Section1">
  Today is a nice day.
</div>
<div id="forecast">
  Tomorrow will be rainy.
</div>
^D
Today is a nice day.

<<forecast>>
Tomorrow will be rainy.