diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-01 02:38:18 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-01 02:38:18 +0000 |
commit | 313d2e40b8b6d4457a70dc22e14da1e48e0bd6b1 (patch) | |
tree | 6663f9541a51578897b6a6be04020f09e31adfd7 /tests/tables.markdown | |
parent | eb2e560d861387414fe03056189f32e54e83851b (diff) | |
download | pandoc-313d2e40b8b6d4457a70dc22e14da1e48e0bd6b1.tar.gz |
Changed heuristic in compactify.
compactify has to decide whether a Para that ends a list is a Para
intentionally, or just because of the blank lines at the end of
every list. In the latter case the Para is turned to a Plain.
The old heuristic was: change final Para to Plain iff the other
items all end in Plain. This produces bad results when, for example,
an item contains just a Plain and an HTML comment, as it
- a
<!--
- b
-->
-c
The new heuristic: change final Para to Plain iff the other items
don't contain a Para.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1616 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/tables.markdown')
0 files changed, 0 insertions, 0 deletions