Files
pandoc/test/command
John MacFarlane 345b33762e Shared.hierarchicalize: improve handling of div and section structure.
Previously Divs were opaque to hierarchicalize, so headings
inside divs didn't get into the table of contents, for
example (#3057).

Now hierarchicalize treats Divs as sections when appropriate.
For example, these structures both yield a section and a
subsection:

``` html
<div>
<h1>one</h1>
<div>
<h2>two</h2>
</div>
</div>
```
``` html
<div>
<h1>one</h1>
<div>
<h1>two</h1>
</div>
</div>
```

Note that

``` html
<h1>one</h1>
<div>
<h2>two</h2>
</div>
<h1>three</h1>
```

gets parsed as the structure

    one
      two
    three

which may not always be desirable.

Closes #3057.
2019-09-05 22:37:13 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-25 14:24:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-25 14:24:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-25 14:24:31 -07:00
…
…
…
…
…
…
2018-11-13 14:50:26 -08:00
2018-11-06 22:57:11 -08:00
2018-11-25 22:50:16 -08:00
2019-08-25 14:24:31 -07:00
2019-02-25 17:33:54 -08:00
2019-02-23 15:40:06 -07:00
2019-03-18 16:53:36 -07:00
2019-03-17 18:02:59 -07:00
2019-04-15 09:48:11 -07:00
2019-05-01 16:56:37 -07:00
2019-07-22 15:29:07 -07:00
2019-08-23 10:15:42 -07:00
2019-08-26 15:20:22 -07:00
…
…
…
…
2019-01-02 11:36:37 -08:00
…
…
…
2019-01-02 11:36:37 -08:00